Passed
Branch master (01ea62)
by Naylon Kessler de
03:09
created
src/SmartCNAB/Services/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function returning($path, $bank = null)
41 41
     {
42
-        $bank = $bank?: Inspector::bankNumberOf($path);
42
+        $bank = $bank ?: Inspector::bankNumberOf($path);
43 43
         $bankNs = $this->discoverBankNamespace($bank, 'Returning');
44 44
         $version = Inspector::fileVersionOf($path);
45 45
         $file = "File{$version}";
Please login to merge, or discard this patch.
src/SmartCNAB/Support/Picture.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
     {
97 97
         $parsed = array_merge([
98 98
             'data-type' => 'numeric',
99
-            'info-type' => empty($meta['type'])? 'generic' : $meta['type'],
99
+            'info-type' => empty($meta['type']) ? 'generic' : $meta['type'],
100 100
             'strict' => true,
101 101
         ], $meta);
102 102
 
Please login to merge, or discard this patch.
src/SmartCNAB/Support/File/Remittance.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
      */
141 141
     protected function getFormatMapper(array $data, $type)
142 142
     {
143
-        return function ($meta, $field) use ($data, $type) {
143
+        return function($meta, $field) use ($data, $type) {
144 144
             $value = empty($data[$field]) ? '' : $data[$field];
145 145
             $method = 'mutate' . ucfirst($type) . ucfirst($field);
146 146
 
Please login to merge, or discard this patch.
src/SmartCNAB/Support/File/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      */
101 101
     protected function generate()
102 102
     {
103
-        $lines = array_map(function ($line) {
103
+        $lines = array_map(function($line) {
104 104
             return implode('', $line);
105 105
         }, $this->getLines());
106 106
 
Please login to merge, or discard this patch.
src/SmartCNAB/Support/File/Returning.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     {
48 48
         $details = array_slice($this->lines, 1, count($this->lines) - 2);
49 49
 
50
-        return array_map(function ($detail) {
50
+        return array_map(function($detail) {
51 51
             return (object) $this->parseLine($detail);
52 52
         }, $details);
53 53
     }
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     protected function getParseMapper($data)
96 96
     {
97
-        return function ($meta) use ($data) {
97
+        return function($meta) use ($data) {
98 98
             return $this->picture->from($meta['pic'], $data, $meta);
99 99
         };
100 100
     }
Please login to merge, or discard this patch.