@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | */ |
33 | 33 | public function register($name, $controller, array $options = []) |
34 | 34 | { |
35 | - if (isset($options['parameters']) && ! isset($this->parameters)) { |
|
35 | + if (isset($options['parameters']) && !isset($this->parameters)) { |
|
36 | 36 | $this->parameters = $options['parameters']; |
37 | 37 | } |
38 | 38 | |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | // If the singular option is set, we need to determine which resources are meant |
51 | 51 | // to be singular resources. If set to true, then only the last resource will |
52 | 52 | // be singular, otherwise intersect all resources with the given resources. |
53 | - if (! empty($options['singular'])) { |
|
53 | + if (!empty($options['singular'])) { |
|
54 | 54 | $singular = $options['singular']; |
55 | 55 | $this->singularResources = array_intersect( |
56 | 56 | $resources, |