Passed
Push — master ( b2277f...b16fe5 )
by Jonathan
12:34
created
app/Http/Controllers/Core/TreeController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
         $roots = collect();
61 61
         foreach ($rootRecords as $record) {
62
-            $roots[] = $this->getFormattedRecordToAdd($record);
62
+            $roots[ ] = $this->getFormattedRecordToAdd($record);
63 63
         }
64 64
 
65 65
         return $roots;
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         $children = collect();
86 86
         if ($parentRecord) {
87 87
             foreach ($parentRecord->children()->get() as $record) {
88
-                $children[] = $this->getFormattedRecordToAdd($record);
88
+                $children[ ] = $this->getFormattedRecordToAdd($record);
89 89
             }
90 90
         }
91 91
 
Please login to merge, or discard this patch.
resources/views/modules/default/uitypes/edit/file.blade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     @if ($value)
17 17
         <?php
18 18
             $valueParts = explode(';', $value);
19
-            $fileName = $valueParts[0];
19
+            $fileName = $valueParts[ 0 ];
20 20
         ?>
21 21
         <div class="input-field current-file">
22 22
             <div class="file-container">
Please login to merge, or discard this patch.
app/Support/Traits/WithRoles.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         foreach ($treeDomainsIds as $treeDomainId) {
45 45
             $_domain = Domain::find($treeDomainId);
46 46
             foreach ($_domain->roles as $role) {
47
-                $roleName = $_domain->id === $domain->id ? $role->name : $_domain->name . ' > ' . $role->name;
47
+                $roleName = $_domain->id === $domain->id ? $role->name : $_domain->name.' > '.$role->name;
48 48
                 $roles[ $role->id ] = $roleName;
49 49
             }
50 50
         }
Please login to merge, or discard this patch.