diff --git a/phalcon/Mvc/Model.zep b/phalcon/Mvc/Model.zep index 9276217bcd..6c455ef4c6 100644 --- a/phalcon/Mvc/Model.zep +++ b/phalcon/Mvc/Model.zep @@ -81,6 +81,7 @@ use Serializable; * echo "Great, a new robot was saved successfully!"; * } * ``` + * @template T of static */ abstract class Model extends AbstractInjectionAware implements EntityInterface, ModelInterface, ResultInterface, Serializable, JsonSerializable { @@ -1630,6 +1631,7 @@ abstract class Model extends AbstractInjectionAware implements EntityInterface, * ], * 'hydration' => null * ] + * @return T[]|\Phalcon\Mvc\Model\ResultsetInterface */ public static function find(var parameters = null) -> { @@ -1748,7 +1750,7 @@ abstract class Model extends AbstractInjectionAware implements EntityInterface, * 'hydration' => null * ] * - * @return \Phalcon\Mvc\ModelInterface|\Phalcon\Mvc\Model\Row|null + * @return T|\Phalcon\Mvc\ModelInterface|\Phalcon\Mvc\Model\Row|null */ public static function findFirst(var parameters = null) -> var | null {