Skip to content

Commit c699aa9

Browse files
authored
Merge pull request dingo#1173 from dingo/analysis-8m06Q7
Applied fixes from StyleCI
2 parents d94554a + dff5b07 commit c699aa9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Routing/Route.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ protected function mergeControllerProperties()
180180
$this->makeControllerInstance();
181181
}
182182

183-
if (!$this->controllerUsesHelpersTrait()) {
183+
if (! $this->controllerUsesHelpersTrait()) {
184184
return;
185185
}
186186

@@ -226,7 +226,7 @@ protected function findControllerPropertyOptions($name)
226226
$properties = [];
227227

228228
foreach ($this->getControllerInstance()->{'get'.ucfirst($name)}() as $property) {
229-
if (isset($property['options']) && !$this->optionsApplyToControllerMethod($property['options'])) {
229+
if (isset($property['options']) && ! $this->optionsApplyToControllerMethod($property['options'])) {
230230
continue;
231231
}
232232

@@ -252,7 +252,7 @@ protected function optionsApplyToControllerMethod(array $options)
252252
} elseif (isset($options['only']) && in_array($this->controllerMethod, $this->explodeOnPipes($options['only']))) {
253253
return true;
254254
} elseif (isset($options['except'])) {
255-
return !in_array($this->controllerMethod, $this->explodeOnPipes($options['except']));
255+
return ! in_array($this->controllerMethod, $this->explodeOnPipes($options['except']));
256256
} elseif (in_array($this->controllerMethod, $this->explodeOnPipes($options))) {
257257
return true;
258258
}
@@ -279,7 +279,7 @@ protected function explodeOnPipes($value)
279279
*/
280280
protected function controllerUsesHelpersTrait()
281281
{
282-
if (!$controller = $this->getControllerInstance()) {
282+
if (! $controller = $this->getControllerInstance()) {
283283
return false;
284284
}
285285

@@ -365,7 +365,7 @@ public function isProtected()
365365
*/
366366
public function hasThrottle()
367367
{
368-
return !is_null($this->throttle);
368+
return ! is_null($this->throttle);
369369
}
370370

371371
/**

0 commit comments

Comments
 (0)