From 71a0e4023ce9641d1d436737290f0592d23bd5f9 Mon Sep 17 00:00:00 2001 From: Alexander Sagen Date: Tue, 2 Jan 2024 15:10:02 +0100 Subject: [PATCH] BaseModel::find(): Fix return type generics --- composer.json | 2 +- src/models/base_model.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 0e6fb5d..4befa66 100644 --- a/composer.json +++ b/composer.json @@ -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"], diff --git a/src/models/base_model.php b/src/models/base_model.php index f9bebaa..a2d9758 100644 --- a/src/models/base_model.php +++ b/src/models/base_model.php @@ -390,7 +390,7 @@ public static function findFirst(string|array|null $options = null): static|fals /** * @param string|array|null $options - * @return ModelCollection|false False if no results found or query error + * @return ModelCollection|false False if no results found or query error * @throws \InvalidArgumentException If options is invalid * @throws \Exception If database is unavailable */