You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got an error when create scaffold using cli, i have users table and i'm using phalcon scaffold users with cli
Fatal error: Declaration of Users::findFirst($parameters = NULL) must be compatible with Phalcon\Mvc\Model::findFirst($parameters = NULL): ?Phalcon\Mvc\ModelInterface
I also tried to create scaffold from webtools after enable in application
The text was updated successfully, but these errors were encountered:
via cli function generated like that public static function findFirst($parameters = null)
Need to change to public static function findFirst($parameters = null): \Phalcon\Mvc\ModelInterface
It will work fine
I got an error when create scaffold using cli, i have users table and i'm using phalcon scaffold users with cli
Fatal error: Declaration of Users::findFirst($parameters = NULL) must be compatible with Phalcon\Mvc\Model::findFirst($parameters = NULL): ?Phalcon\Mvc\ModelInterface
I also tried to create scaffold from webtools after enable in application
The text was updated successfully, but these errors were encountered: