Passed
Push — master ( 45706c...8b7479 )
by Rubén
03:51
created
lib/SP/Services/Upgrade/UpgradeCustomFieldDefinition.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
                 $customFieldType[$customFieldTypeData->getName()] = $customFieldTypeData->getId();
72 72
             }
73 73
 
74
-            $this->transactionAware(function () use ($customFieldType) {
74
+            $this->transactionAware(function() use ($customFieldType) {
75 75
                 $customFieldDefService = $this->dic->get(CustomFieldDefService::class);
76 76
 
77 77
                 $queryData = new QueryData();
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
         );
152 152
 
153 153
         try {
154
-            $this->transactionAware(function () {
154
+            $this->transactionAware(function() {
155 155
                 $customFieldDefService = $this->dic->get(CustomFieldDefService::class);
156 156
 
157 157
                 foreach ($customFieldDefService->getAllBasic() as $item) {
Please login to merge, or discard this patch.
app/modules/web/Controllers/Traits/ItemTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -106,8 +106,8 @@  discard block
 block discarded – undo
106 106
      */
107 107
     protected function addCustomFieldsForItem($moduleId, $itemId, Request $request)
108 108
     {
109
-        $customFields = $request->analyzeArray('customfield', function ($values) {
110
-            return array_map(function ($value) {
109
+        $customFields = $request->analyzeArray('customfield', function($values) {
110
+            return array_map(function($value) {
111 111
                 return Filter::getString($value);
112 112
             }, $values);
113 113
         });
@@ -165,8 +165,8 @@  discard block
 block discarded – undo
165 165
      */
166 166
     protected function updateCustomFieldsForItem($moduleId, $itemId, Request $request)
167 167
     {
168
-        $customFields = $request->analyzeArray('customfield', function ($values) {
169
-            return array_map(function ($value) {
168
+        $customFields = $request->analyzeArray('customfield', function($values) {
169
+            return array_map(function($value) {
170 170
                 return Filter::getString($value);
171 171
             }, $values);
172 172
         });
Please login to merge, or discard this patch.
app/modules/web/Controllers/LoginController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 
64 64
             $this->checkForwarded();
65 65
 
66
-            $redirector = function ($route) use ($from) {
66
+            $redirector = function($route) use ($from) {
67 67
                 $uri = new Uri(ltrim(Bootstrap::$SUBURI, '/'));
68 68
                 $uri->addParam('r', $route);
69 69
 
Please login to merge, or discard this patch.