We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d59ddd2 commit 7f22748Copy full SHA for 7f22748
Request/ParameterBag.php
@@ -36,7 +36,7 @@ public function getParams(Request $request)
36
if (!isset($this->params[$requestId]) || empty($this->params[$requestId]['controller'])) {
37
throw new \InvalidArgumentException('Controller and method needs to be set via setController.');
38
}
39
- if ($this->params[$requestId]['params'] === null) {
+ if (null === $this->params[$requestId]['params']) {
40
return $this->initParams($requestId);
41
42
0 commit comments