Fatal error: Type of plugin\msg\app\validate\Msg::$rule must be array (as in class Tinywan\Validate\Validate) in /Users/xx/Sites/webman/plugin/msg/app/validate/Msg.php on line 5
Worker[40000] process terminated with ERROR: E_COMPILE_ERROR "Type of plugin\msg\app\validate\Msg::$rule must be array (as in class Tinywan\Validate\Validate) in /Users/xx/Sites/webman/plugin/msg/app/validate/Msg.php on line 5"
属性前面加array后报场景错误
Error: Typed property Tinywan\Validate\Validate::$currentScene must not be accessed before initialization in /Users/xx/Sites/webman/vendor/tinywan/validate/src/Validate.php:439
Stack trace:
Fatal error: Type of plugin\msg\app\validate\Msg::$rule must be array (as in class Tinywan\Validate\Validate) in /Users/xx/Sites/webman/plugin/msg/app/validate/Msg.php on line 5 Worker[40000] process terminated with ERROR: E_COMPILE_ERROR "Type of plugin\msg\app\validate\Msg::$rule must be array (as in class Tinywan\Validate\Validate) in /Users/xx/Sites/webman/plugin/msg/app/validate/Msg.php on line 5" 属性前面加array后报场景错误 Error: Typed property Tinywan\Validate\Validate::$currentScene must not be accessed before initialization in /Users/xx/Sites/webman/vendor/tinywan/validate/src/Validate.php:439
Stack trace:
0 /Users/xx/Sites/webman/plugin/msg/app/controller/apiController.php(33): Tinywan\Validate\Validate->check(Array)