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.
2 parents 4acb240 + 65cf31e commit c5f919cCopy full SHA for c5f919c
Model/Route.php
@@ -181,7 +181,7 @@ public function getOption($name)
181
return 'Symfony\\Component\\Routing\\RouteCompiler';
182
}
183
if ($this->isBooleanOption($name)) {
184
- return (boolean) $option;
+ return (bool) $option;
185
186
187
return $option;
@@ -202,7 +202,7 @@ public function getOptions()
202
203
foreach ($options as $key => $value) {
204
if ($this->isBooleanOption($key)) {
205
- $options[$key] = (boolean) $value;
+ $options[$key] = (bool) $value;
206
207
208
0 commit comments