@@ -283,7 +283,7 @@ discard block |
||
| 283 | 283 | if ($this instanceof ViewableInterface && $this->view() !== null) { |
| 284 | 284 | $route = $this->view()->render($pattern, $this->viewController()); |
| 285 | 285 | } else { |
| 286 | - $route = preg_replace_callback('~\{\{\s*(.*?)\s*\}\}~i', [ $this, 'parseRouteToken' ], $pattern); |
|
| 286 | + $route = preg_replace_callback('~\{\{\s*(.*?)\s*\}\}~i', [$this, 'parseRouteToken'], $pattern); |
|
| 287 | 287 | } |
| 288 | 288 | |
| 289 | 289 | return $this->slugify($route); |
@@ -306,7 +306,7 @@ discard block |
||
| 306 | 306 | } |
| 307 | 307 | |
| 308 | 308 | $token = trim($token); |
| 309 | - $method = [ $this, $token ]; |
|
| 309 | + $method = [$this, $token]; |
|
| 310 | 310 | |
| 311 | 311 | if (is_callable($method)) { |
| 312 | 312 | $value = call_user_func($method); |
@@ -423,7 +423,7 @@ discard block |
||
| 423 | 423 | 'route_options' => $newData['route_options'], |
| 424 | 424 | 'route_options_ident' => $newData['route_options_ident'], |
| 425 | 425 | ]); |
| 426 | - $oldRoute->update([ 'route_template', 'route_options' ]); |
|
| 426 | + $oldRoute->update(['route_template', 'route_options']); |
|
| 427 | 427 | |
| 428 | 428 | continue; |
| 429 | 429 | } |