Completed
Pull Request — master (#69)
by
unknown
07:45
created
src/MenuItem.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 
168 168
             if (($title_or_properties['attributes']??null) === null)
169 169
             {
170
-               $title_or_properties['attributes'] = [];
170
+                $title_or_properties['attributes'] = [];
171 171
             }
172 172
 
173 173
             $properties = $title_or_properties;
@@ -180,12 +180,12 @@  discard block
 block discarded – undo
180 180
             // if three args are passed in, third must be attributes
181 181
 
182 182
             if (func_num_args() === 3 && is_array($order)) {
183
-               $attributes = $order;
184
-               $properties = compact('title', 'attributes');
183
+                $attributes = $order;
184
+                $properties = compact('title', 'attributes');
185 185
             }
186 186
             else
187 187
             {
188
-               $properties = compact('title', 'order', 'attributes');
188
+                $properties = compact('title', 'order', 'attributes');
189 189
             }
190 190
         }
191 191
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -171,8 +171,7 @@  discard block
 block discarded – undo
171 171
             }
172 172
 
173 173
             $properties = $title_or_properties;
174
-        }
175
-        else
174
+        } else
176 175
         {
177 176
             $title = $title_or_properties;
178 177
 
@@ -182,8 +181,7 @@  discard block
 block discarded – undo
182 181
             if (func_num_args() === 3 && is_array($order)) {
183 182
                $attributes = $order;
184 183
                $properties = compact('title', 'attributes');
185
-            }
186
-            else
184
+            } else
187 185
             {
188 186
                $properties = compact('title', 'order', 'attributes');
189 187
             }
Please login to merge, or discard this patch.
src/MenuBuilder.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
 
358 358
             if (($title_or_properties['attributes']??null) === null)
359 359
             {
360
-               $title_or_properties['attributes'] = [];
360
+                $title_or_properties['attributes'] = [];
361 361
             }
362 362
 
363 363
             $properties = $title_or_properties;
@@ -370,12 +370,12 @@  discard block
 block discarded – undo
370 370
             // if three args are passed in, third must be attributes
371 371
 
372 372
             if (func_num_args() === 3 && is_array($order)) {
373
-               $attributes = $order;
374
-               $properties = compact('title', 'attributes');
373
+                $attributes = $order;
374
+                $properties = compact('title', 'attributes');
375 375
             }
376 376
             else
377 377
             {
378
-               $properties = compact('title', 'order', 'attributes');
378
+                $properties = compact('title', 'order', 'attributes');
379 379
             }
380 380
 
381 381
             $properties = compact('title', 'order', 'attributes');
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -361,8 +361,7 @@  discard block
 block discarded – undo
361 361
             }
362 362
 
363 363
             $properties = $title_or_properties;
364
-        }
365
-        else
364
+        } else
366 365
         {
367 366
             $title = $title_or_properties;
368 367
 
@@ -372,8 +371,7 @@  discard block
 block discarded – undo
372 371
             if (func_num_args() === 3 && is_array($order)) {
373 372
                $attributes = $order;
374 373
                $properties = compact('title', 'attributes');
375
-            }
376
-            else
374
+            } else
377 375
             {
378 376
                $properties = compact('title', 'order', 'attributes');
379 377
             }
Please login to merge, or discard this patch.