Passed
Push — master ( 249964...c93993 )
by Nícollas
01:35
created
src/Traits/RouteManagerUtils.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function where(array $matches)
24 24
     {
25
-        array_map(function ($key, $value) {
25
+        array_map(function($key, $value) {
26 26
             $this->setWhereData($key, $value);
27 27
         }, array_keys($matches), $matches);
28 28
 
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      */
102 102
     public function name(String $name, Bool $ignoreDefault = false)
103 103
     {
104
-        if($ignoreDefault) {
104
+        if ($ignoreDefault) {
105 105
             $this->setName($name);
106 106
         } else {
107 107
             $this->setName($this->getDefaultName() . $name);
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      */
130 130
     public function withoutMiddleware($middleware)
131 131
     {
132
-        if(!is_a($this->middleware, MiddlewareCollection::class)) {
132
+        if (!is_a($this->middleware, MiddlewareCollection::class)) {
133 133
             return;
134 134
         }
135 135
 
Please login to merge, or discard this patch.