Passed
Push — master ( 19c479...4ac39c )
by Alain
02:36
created
src/View/Location/LocationCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function hasLocation($location)
58 58
     {
59
-        if (! $location instanceof LocationInterface) {
59
+        if ( ! $location instanceof LocationInterface) {
60 60
             throw new InvalidLocationException(
61 61
                 sprintf(
62 62
                     _('Invalid location to check existence for: "%s".'),
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             );
66 66
         }
67 67
 
68
-        return $this->exists(function ($key, $element) use ($location) {
68
+        return $this->exists(function($key, $element) use ($location) {
69 69
             return $location == $element;
70 70
         });
71 71
     }
Please login to merge, or discard this patch.