Completed
Push — master ( 63c4b4...5f8151 )
by Jonathan
17:31 queued 03:19
created
resources/views/modules/default/uitypes/search/entity.blade.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,12 +5,12 @@
 block discarded – undo
5 5
             $autocompleteSearch = false;
6 6
 
7 7
             $entities = [ ];
8
-            if (!empty($column['data']->module)) {
9
-                $relatedModule =  ucmodule($column['data']->module);
8
+            if (!empty($column[ 'data' ]->module)) {
9
+                $relatedModule = ucmodule($column[ 'data' ]->module);
10 10
                 $modelClass = $relatedModule->model_class;
11 11
             }
12 12
 
13
-            if (isset($column['data']->autocomplete_search) && $column['data']->autocomplete_search === true) {
13
+            if (isset($column[ 'data' ]->autocomplete_search) && $column[ 'data' ]->autocomplete_search === true) {
14 14
                 $autocompleteSearch = true;
15 15
             } else {
16 16
                 $entities = $modelClass::all();
Please login to merge, or discard this patch.
resources/views/modules/default/uitypes/search/assigned_user.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@
 block discarded – undo
4 4
             $autocompleteSearch = false;
5 5
 
6 6
             $entities = [ ];
7
-            $relatedModule =  ucmodule('user');
7
+            $relatedModule = ucmodule('user');
8 8
             $modelClass = $relatedModule->model_class;
9 9
 
10
-            if (isset($column['data']->autocomplete_search) && $column['data']->autocomplete_search === true) {
10
+            if (isset($column[ 'data' ]->autocomplete_search) && $column[ 'data' ]->autocomplete_search === true) {
11 11
                 $autocompleteSearch = true;
12 12
             } else {
13 13
                 $entities = $modelClass::all();
Please login to merge, or discard this patch.
app/Http/Controllers/Core/DownloadController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -35,8 +35,8 @@  discard block
 block discarded – undo
35 35
 
36 36
         // Get file data from request
37 37
         $fileData = $this->getFileDataFromRequest();
38
-        $fileName = $fileData['name'];
39
-        $filePath = $fileData['path'];
38
+        $fileName = $fileData[ 'name' ];
39
+        $filePath = $fileData[ 'path' ];
40 40
 
41 41
         // Check if file exists
42 42
         if (!Storage::exists($filePath)) {
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         $fileName = null;
58 58
         $filePath = null;
59 59
 
60
-        $recordId = (int) request('id');
60
+        $recordId = (int)request('id');
61 61
         $fieldColumn = request('field');
62 62
 
63 63
         // Get record
@@ -70,8 +70,8 @@  discard block
 block discarded – undo
70 70
             $fileParts = explode(';', $fileData);
71 71
 
72 72
             if (count($fileParts) === 2) {
73
-                $fileName = $fileParts[0];
74
-                $filePath = $fileParts[1];
73
+                $fileName = $fileParts[ 0 ];
74
+                $filePath = $fileParts[ 1 ];
75 75
             }
76 76
         }
77 77
 
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
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         @if ($value)
23 23
             <?php
24 24
                 $valueParts = explode(';', $value);
25
-                $fileName = $valueParts[0];
25
+                $fileName = $valueParts[ 0 ];
26 26
             ?>
27 27
             <div class="input-field current-file">
28 28
                 <div class="file-container">
Please login to merge, or discard this patch.
resources/views/modules/default/uitypes/detail/file.blade.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
     <?php
7 7
         $value = $field->uitype->getFormattedValueToDisplay($field, $record);
8 8
         $valueParts = explode(';', $value);
9
-        $fileName = $valueParts[0];
9
+        $fileName = $valueParts[ 0 ];
10 10
     ?>
11 11
     @if (count($valueParts) === 2)
12 12
         <div class="truncate">
Please login to merge, or discard this patch.
resources/views/modules/default/list/main.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,8 +95,8 @@
 block discarded – undo
95 95
                                         <div class="hide-on-small-only hide-on-med-only">
96 96
                                             <?php
97 97
                                                 $searchValue = null;
98
-                                                if ($selectedFilter && !empty($selectedFilter->conditions->search->{$column['name']})) {
99
-                                                    $searchValue = $selectedFilter->conditions->search->{$column['name']};
98
+                                                if ($selectedFilter && !empty($selectedFilter->conditions->search->{$column[ 'name' ]})) {
99
+                                                    $searchValue = $selectedFilter->conditions->search->{$column[ 'name' ]};
100 100
                                                 }
101 101
 
102 102
                                                 // If a special template exists, use it. Else use the generic template
Please login to merge, or discard this patch.
resources/views/modules/default/detail/relatedlists/table.blade.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
                     <div class="search hide-on-small-only hide-on-med-only hide">
30 30
                         <?php
31 31
                             $searchValue = null;
32
-                            if (!empty($selectedFilter) && !empty($selectedFilter->conditions->search->{$column['name']})) {
33
-                                $searchValue = $selectedFilter->conditions->search->{$column['name']};
32
+                            if (!empty($selectedFilter) && !empty($selectedFilter->conditions->search->{$column[ 'name' ]})) {
33
+                                $searchValue = $selectedFilter->conditions->search->{$column[ 'name' ]};
34 34
                             }
35 35
 
36 36
                             // If a special template exists, use it. Else use the generic template
Please login to merge, or discard this patch.
app/Support/Traits/RelatedlistTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
         // Related model
90 90
         $relatedModel = new $relatedList->relatedModule->model_class;
91 91
 
92
-        $relations->getCollection()->transform(function ($relation) use ($relatedModel) {
92
+        $relations->getCollection()->transform(function($relation) use ($relatedModel) {
93 93
             $record = $relatedModel::find($relation->related_record_id);
94 94
             $record->relation_id = $relation->id; // Add relation id
95 95
 
Please login to merge, or discard this patch.
app/Fields/Uitype/Select.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,8 +87,8 @@
 block discarded – undo
87 87
      */
88 88
     public function addConditionToSearchQuery(Builder $query, Field $field, $value) : Builder
89 89
     {
90
-        $query->where(function ($query) use($field, $value) {
91
-            foreach ((array) $value as $_value) {
90
+        $query->where(function($query) use($field, $value) {
91
+            foreach ((array)$value as $_value) {
92 92
                 $formattedValue = $this->getFormattedValueToSearch($_value);
93 93
                 $query = $query->orWhere($field->column, 'like', $formattedValue);
94 94
             }
Please login to merge, or discard this patch.