Completed
Push — master ( d36818...f69551 )
by Patrick
07:22 queued 03:42
created
Category
src/ResourceRegistrar.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.