Skip to content

Commit

Permalink
BaseModel::find(): Fix return type generics
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrsagen committed Jan 2, 2024
1 parent 9f59627 commit 71a0e40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "alexrsagen/obie",
"version": "1.6.2",
"version": "1.6.3",
"type": "framework",
"description": "Obie is a simple PHP framework. It aims to provide basic services needed for any web app.",
"keywords": ["framework", "php", "http", "template", "view", "router", "routing", "model", "models", "session", "sessions"],
Expand Down
2 changes: 1 addition & 1 deletion src/models/base_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ public static function findFirst(string|array|null $options = null): static|fals

/**
* @param string|array|null $options
* @return ModelCollection<BaseModel>|false False if no results found or query error
* @return ModelCollection<static>|false False if no results found or query error
* @throws \InvalidArgumentException If options is invalid
* @throws \Exception If database is unavailable
*/
Expand Down

0 comments on commit 71a0e40

Please sign in to comment.