File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -934,7 +934,7 @@ public function execute()
934
934
*@return bool
935
935
*@throws StateException - throws error if the execute method has not been called
936
936
*/
937
- public function succeeds ()
937
+ public function succeeds (): bool
938
938
{
939
939
if (!$ this ->_executed )
940
940
throw new StateException ('Cant check state because execute method has not been called ' );
@@ -948,7 +948,7 @@ public function succeeds()
948
948
*@return bool
949
949
*@throws StateException - throws error if the execute method has not been called
950
950
*/
951
- public function fails ()
951
+ public function fails (): bool
952
952
{
953
953
return !$ this ->succeeds ();
954
954
}
@@ -976,7 +976,7 @@ public function getError(string $key = null)
976
976
*
977
977
*@return array
978
978
*/
979
- public function getErrors ()
979
+ public function getErrors (): array
980
980
{
981
981
return $ this ->_errors ;
982
982
}
@@ -1040,7 +1040,7 @@ public function __get(string $name)
1040
1040
*
1041
1041
*@return bool
1042
1042
*/
1043
- public function modelCamelizeFields (bool $ status = null )
1043
+ public function modelCamelizeFields (bool $ status = null ): bool
1044
1044
{
1045
1045
if (!is_null ($ status ))
1046
1046
$ this ->_model_camelize_fields = $ status ;
You can’t perform that action at this time.
0 commit comments