File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public function getController(Request $request)
47
47
if (isset ($ controller [0 ]) && \is_string ($ controller [0 ]) && isset ($ controller [1 ])) {
48
48
try {
49
49
$ controller [0 ] = $ this ->instantiateController ($ controller [0 ]);
50
- } catch (\Error | \LogicException $ e ) {
50
+ } catch (\Error | \LogicException $ e ) {
51
51
try {
52
52
// We cannot just check is_callable but have to use reflection because a non-static method
53
53
// can still be called statically in PHP but we don't want that. This is deprecated in PHP 7, so we
@@ -120,7 +120,7 @@ protected function createController($controller)
120
120
121
121
try {
122
122
$ controller = [$ this ->instantiateController ($ class ), $ method ];
123
- } catch (\Error | \LogicException $ e ) {
123
+ } catch (\Error | \LogicException $ e ) {
124
124
try {
125
125
if ((new \ReflectionMethod ($ class , $ method ))->isStatic ()) {
126
126
return $ class .':: ' .$ method ;
You can’t perform that action at this time.
0 commit comments