@@ -59,7 +59,7 @@ discard block |
||
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 |
||
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 |
@@ -16,7 +16,7 @@ |
||
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"> |