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
Deprecated: Calling ReflectionMethod::__construct() with 1 argument is deprecated, use ReflectionMethod::createFromMethodName() instead in %s on line %d
70
-
ReflectionException: ReflectionMethod::__construct(): Argument #1 ($objectOrMethod) must be a valid method name in %s:%d
71
-
Stack trace:
72
-
#0 %s ReflectionMethod->__construct('1')
73
-
#1 {main}
70
+
71
+
Deprecated: ReflectionMethod::__construct(): Passing bool to parameter #1 ($objectOrMethod) of type object|string is deprecated in %s on line %d
72
+
ReflectionException: ReflectionMethod::__construct(): Argument #1 ($objectOrMethod) must be a valid method name
73
+
74
74
Wrong type of argument (int):
75
75
76
76
Deprecated: Calling ReflectionMethod::__construct() with 1 argument is deprecated, use ReflectionMethod::createFromMethodName() instead in %s on line %d
77
-
ReflectionException: ReflectionMethod::__construct(): Argument #1 ($objectOrMethod) must be a valid method name in %s:%d
78
-
Stack trace:
79
-
#0 %s ReflectionMethod->__construct('3')
80
-
#1 {main}
77
+
ReflectionException: ReflectionMethod::__construct(): Argument #1 ($objectOrMethod) must be a valid method name
78
+
81
79
Wrong type of argument (bool, string):
82
-
ReflectionException: Class "1" does not exist in %s:%d
83
-
Stack trace:
84
-
#0 %s ReflectionMethod->__construct('1', 'foo')
85
-
#1 {main}
80
+
81
+
Deprecated: ReflectionMethod::__construct(): Passing bool to parameter #1 ($objectOrMethod) of type object|string is deprecated in %s on line %d
82
+
ReflectionException: Class "1" does not exist
83
+
86
84
Wrong type of argument (string, bool):
87
-
ReflectionException: Method TestClass::1() does not exist in %s:%d
Deprecated: ReflectionMethod::__construct(): Passing bool to parameter #2 ($method) of type ?string is deprecated in %s on line %d
87
+
ReflectionException: Method TestClass::1() does not exist
88
+
91
89
No method given:
92
90
93
91
Deprecated: Calling ReflectionMethod::__construct() with 1 argument is deprecated, use ReflectionMethod::createFromMethodName() instead in %s on line %d
94
-
ReflectionException: ReflectionMethod::__construct(): Argument #1 ($objectOrMethod) must be a valid method name in %s:%d
95
-
Stack trace:
96
-
#0 %s ReflectionMethod->__construct('TestClass')
97
-
#1 {main}
92
+
ReflectionException: ReflectionMethod::__construct(): Argument #1 ($objectOrMethod) must be a valid method name
93
+
98
94
Class and Method in same string, bad method name:
99
95
100
96
Deprecated: Calling ReflectionMethod::__construct() with 1 argument is deprecated, use ReflectionMethod::createFromMethodName() instead in %s on line %d
101
-
ReflectionException: Method TestClass::foop::dedoop() does not exist in %s:%d
ReflectionException: Method TestClass::foop::dedoop() does not exist
98
+
105
99
Class and Method in same string, bad class name:
106
100
107
101
Deprecated: Calling ReflectionMethod::__construct() with 1 argument is deprecated, use ReflectionMethod::createFromMethodName() instead in %s on line %d
108
-
ReflectionException: Class "TestCla" does not exist in %s:%d
ReflectionException: Class "TestCla" does not exist
103
+
112
104
Class and Method in same string (ok):
113
105
114
106
Deprecated: Calling ReflectionMethod::__construct() with 1 argument is deprecated, use ReflectionMethod::createFromMethodName() instead in %s on line %d
0 commit comments