Open s-ohnishi opened 4 years ago
* @return bool|\Phalcon\Mvc\ModelInterface */ public static function findFirst($parameters = null) { }
I think it should be this.
* @return null|\Phalcon\Mvc\ModelInterface */ public static function findFirst($parameters = null) { }
because
public static function findFirst( mixed $parameters = null ): ModelInterface | null
and
NOTE: findFirst() no longer returns false if records were not found.
https://docs.phalcon.io/4.0/en/db-models
I think it should be this.
because
and
https://docs.phalcon.io/4.0/en/db-models