Completed
Push — master ( 1896cd...e75455 )
by Naylon Kessler de
02:45
created
src/SmartCNAB/Support/File/Returning.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
      */
106 106
     protected function getParseMapper($data)
107 107
     {
108
-        return function ($meta) use ($data) {
108
+        return function($meta) use ($data) {
109 109
             return $this->picture->from($meta['pic'], $data, $meta);
110 110
         };
111 111
     }
Please login to merge, or discard this patch.
src/SmartCNAB/Support/Bank/Caixa.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -197,9 +197,13 @@
 block discarded – undo
197 197
      */
198 198
     public function motives($occurrenceCode = null)
199 199
     {
200
-        if ($occurrenceCode == '99') return [];
200
+        if ($occurrenceCode == '99') {
201
+            return [];
202
+        }
201 203
 
202
-        if ( ! $occurrenceCode) return $this->rejectionCodes();
204
+        if ( ! $occurrenceCode) {
205
+            return $this->rejectionCodes();
206
+        }
203 207
 
204 208
         $occurrenceCode = str_pad($occurrenceCode, 2, 0, STR_PAD_LEFT);
205 209
 
Please login to merge, or discard this patch.
src/SmartCNAB/Support/Bank/Bank.php 2 patches
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,9 @@
 block discarded – undo
129 129
      */
130 130
     public function motives($occurrenceCode = null)
131 131
     {
132
-        if ( ! $occurrenceCode) return static::$motives;
132
+        if ( ! $occurrenceCode) {
133
+            return static::$motives;
134
+        }
133 135
 
134 136
         $occurrenceCode = str_pad($occurrenceCode, 2, 0, STR_PAD_LEFT);
135 137
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
      */
215 215
     protected function findMotives($occurrenceCode)
216 216
     {
217
-        $filter = function ($key) use ($occurrenceCode) {
217
+        $filter = function($key) use ($occurrenceCode) {
218 218
             return in_array($occurrenceCode, explode(',', $key));
219 219
         };
220 220
 
Please login to merge, or discard this patch.