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
Copy file name to clipboardExpand all lines: Controller/ControllerResolver.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -64,15 +64,15 @@ public function getController(Request $request)
64
64
}
65
65
66
66
if (!\is_callable($controller)) {
67
-
thrownew \InvalidArgumentException(sprintf('The controller for URI "%s" is not callable. %s.', $request->getPathInfo(), $this->getControllerError($controller)));
67
+
thrownew \InvalidArgumentException(sprintf('The controller for URI "%s" is not callable: '.$this->getControllerError($controller), $request->getPathInfo()));
68
68
}
69
69
70
70
return$controller;
71
71
}
72
72
73
73
if (\is_object($controller)) {
74
74
if (!\is_callable($controller)) {
75
-
thrownew \InvalidArgumentException(sprintf('The controller for URI "%s" is not callable. %s.', $request->getPathInfo(), $this->getControllerError($controller)));
75
+
thrownew \InvalidArgumentException(sprintf('The controller for URI "%s" is not callable: '.$this->getControllerError($controller), $request->getPathInfo()));
76
76
}
77
77
78
78
return$controller;
@@ -89,7 +89,7 @@ public function getController(Request $request)
89
89
}
90
90
91
91
if (!\is_callable($callable)) {
92
-
thrownew \InvalidArgumentException(sprintf('The controller for URI "%s" is not callable. %s.', $request->getPathInfo(), $this->getControllerError($callable)));
92
+
thrownew \InvalidArgumentException(sprintf('The controller for URI "%s" is not callable: '.$this->getControllerError($callable), $request->getPathInfo()));
0 commit comments