Skip to content

Commit c5f919c

Browse files
committed
Merge pull request #339 from andrey1s/cs
fix cs styleci.io
2 parents 4acb240 + 65cf31e commit c5f919c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Model/Route.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function getOption($name)
181181
return 'Symfony\\Component\\Routing\\RouteCompiler';
182182
}
183183
if ($this->isBooleanOption($name)) {
184-
return (boolean) $option;
184+
return (bool) $option;
185185
}
186186

187187
return $option;
@@ -202,7 +202,7 @@ public function getOptions()
202202
}
203203
foreach ($options as $key => $value) {
204204
if ($this->isBooleanOption($key)) {
205-
$options[$key] = (boolean) $value;
205+
$options[$key] = (bool) $value;
206206
}
207207
}
208208

0 commit comments

Comments
 (0)