Completed
Pull Request — master (#5882)
by
unknown
22s
created
src/Auth/Database/OperationLog.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,7 +105,9 @@  discard block
 block discarded – undo
105 105
         return Attribute::make(
106 106
             get: function () {
107 107
                 // Check for error indicators in input data
108
-                if (!$this->input) return true;
108
+                if (!$this->input) {
109
+                    return true;
110
+                }
109 111
                 
110 112
                 $input = is_array($this->input) ? $this->input : $this->input->toArray();
111 113
                 return !isset($input['error']) && !isset($input['exception']);
@@ -122,7 +124,9 @@  discard block
 block discarded – undo
122 124
     {
123 125
         return Attribute::make(
124 126
             get: function () {
125
-                if (!$this->input) return [];
127
+                if (!$this->input) {
128
+                    return [];
129
+                }
126 130
                 
127 131
                 $input = is_array($this->input) ? $this->input : $this->input->toArray();
128 132
                 
Please login to merge, or discard this patch.
src/Jobs/ImportAdminData.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,9 @@
 block discarded – undo
147 147
 
148 148
         foreach ($lines as $index => $line) {
149 149
             $line = trim($line);
150
-            if (empty($line)) continue;
150
+            if (empty($line)) {
151
+                continue;
152
+            }
151 153
 
152 154
             $row = str_getcsv($line);
153 155
 
Please login to merge, or discard this patch.