Passed
Pull Request — master (#42)
by Antonio Oertel
02:19
created
src/DigitCalculator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
      */
124 124
     public function withMultipliers(array $multipliers)
125 125
     {
126
-        $multipliers = array_map(function ($multiplier) {
126
+        $multipliers = array_map(function($multiplier) {
127 127
             if (!assert(is_int($multiplier))) {
128 128
                 throw new \InvalidArgumentException("The multiplier({$multiplier}) must be integer");
129 129
             }
Please login to merge, or discard this patch.
src/StateRegistration/Bahia.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         if (strlen($baseNumber) == 6) {
62 62
             $charToCheck = substr($baseNumber, 0, 1);
63 63
         }
64
-        if (in_array($charToCheck, [6,7,9])) {
64
+        if (in_array($charToCheck, [6, 7, 9])) {
65 65
             return DigitCalculator::MODULE_11;
66 66
         }
67 67
 
Please login to merge, or discard this patch.
src/Voter.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Brazanation\Documents;
4 4
 
5
-use Brazanation\Documents\Exception\InvalidDocument;
6
-
7 5
 final class Voter extends AbstractDocument
8 6
 {
9 7
     const LENGTH = 12;
Please login to merge, or discard this patch.