Completed
Push — master ( fbe46c...fa1c37 )
by Max
02:21
created
src/Collections/DepositCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function __construct($items = [])
15 15
     {
16
-        array_walk($items, function ($value, $key) {
16
+        array_walk($items, function($value, $key) {
17 17
             if (!$value instanceof Deposit) {
18 18
                 throw new InvalidArgumentException('You should pass only Deposit objects to this collection.');
19 19
             }
Please login to merge, or discard this patch.
src/Validators/PopularValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public static function validate(array $deposit)
13 13
     {
14
-        $deposit = array_map(function ($value) {
14
+        $deposit = array_map(function($value) {
15 15
             return utf8_decode($value);
16 16
         }, $deposit);
17 17
 
Please login to merge, or discard this patch.
src/Parsers/SantaCruzBankParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $collection = new DepositCollection();
28 28
         $fileArray = array_slice($file->toArray(), 7);
29 29
 
30
-        array_walk($fileArray, function ($line, $key) use (&$collection) {
30
+        array_walk($fileArray, function($line, $key) use (&$collection) {
31 31
             if (!SantaCruzValidator::validate($line)) {
32 32
                 return;
33 33
             }
Please login to merge, or discard this patch.
src/Parsers/BHDBankParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         $collection = new DepositCollection();
31 31
         $fileArray = array_slice($file->toArray(), 3);
32 32
 
33
-        array_walk($fileArray, function ($line, $key) use (&$collection) {
33
+        array_walk($fileArray, function($line, $key) use (&$collection) {
34 34
             if (!BHDValidator::validate($line)) {
35 35
                 return;
36 36
             }
Please login to merge, or discard this patch.
src/Parsers/ReservasBankParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         $collection = new DepositCollection();
31 31
         $fileArray = array_slice($file->toArray(), 1);
32 32
 
33
-        array_walk($fileArray, function ($line, $key) use (&$collection) {
33
+        array_walk($fileArray, function($line, $key) use (&$collection) {
34 34
             if (!ReservasValidator::validate($line)) {
35 35
                 return;
36 36
             }
Please login to merge, or discard this patch.
src/Parsers/PopularBankParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $collection = new DepositCollection();
28 28
         $fileArray = array_slice($file->toArray(), 5);
29 29
 
30
-        array_walk($fileArray, function ($line, $key) use (&$collection) {
30
+        array_walk($fileArray, function($line, $key) use (&$collection) {
31 31
             if (!PopularValidator::validate($line)) {
32 32
                 return;
33 33
             }
Please login to merge, or discard this patch.
src/Traits/InteractsWithArrayTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     private function reverseMultidimensionalArrayValues(array $array)
15 15
     {
16
-        return array_map(function ($value) {
16
+        return array_map(function($value) {
17 17
             return array_reverse($value);
18 18
         }, $array);
19 19
     }
Please login to merge, or discard this patch.