Passed
Branch master (d7957a)
by Samson
04:01
created
src/Operations/Formatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
 
181 181
         $hour = $this->getHour();
182 182
 
183
-        $result = array_filter($array, function ($value) use ($hour) {
183
+        $result = array_filter($array, function($value) use ($hour) {
184 184
             return in_array($hour, $value, true);
185 185
         });
186 186
 
Please login to merge, or discard this patch.
src/Validator/ValidIntegerValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     public function isValidInteger(...$integers): bool
16 16
     {
17
-        return array_reduce($integers, function ($carry, $integer) {
17
+        return array_reduce($integers, function($carry, $integer) {
18 18
             return $carry && is_int($integer);
19 19
         }, true);
20 20
     }
Please login to merge, or discard this patch.
src/Constants.php 1 patch
Spacing   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -32,38 +32,38 @@
 block discarded – undo
32 32
     ];
33 33
 
34 34
     const FORMAT_MAPPER = [
35
-        'j' => 'getDay',                        //  1 - 30
36
-        'd' => 'getDayTwoDigit',                //	01 - 30
37
-        'l' => 'getTextualDay',                 //  ሰኞ - እሑድ
38
-        'D' => 'getTextualDayShort',            //	ሰኞ - እሑ
39
-        'w' => 'getDayOfWeek',                  //  0 እሑድ - 6 ሰኞ
40
-        'z' => 'getDayOfYear',                  //  0 - 365
35
+        'j' => 'getDay', //  1 - 30
36
+        'd' => 'getDayTwoDigit', //	01 - 30
37
+        'l' => 'getTextualDay', //  ሰኞ - እሑድ
38
+        'D' => 'getTextualDayShort', //	ሰኞ - እሑ
39
+        'w' => 'getDayOfWeek', //  0 እሑድ - 6 ሰኞ
40
+        'z' => 'getDayOfYear', //  0 - 365
41 41
 
42
-        'F' => 'getTextualMonth',               //  መስ - ጳጉ
43
-        'M' => 'getTextualMonthShort',          //  መስ - ጳጉ
44
-        'n' => 'getMonth',                      //  1 - 13
45
-        'm' => 'getMonthTwoDigit',              //  01 - 13
46
-        't' => 'getDaysInMonth',                //  5 - 30
42
+        'F' => 'getTextualMonth', //  መስ - ጳጉ
43
+        'M' => 'getTextualMonthShort', //  መስ - ጳጉ
44
+        'n' => 'getMonth', //  1 - 13
45
+        'm' => 'getMonthTwoDigit', //  01 - 13
46
+        't' => 'getDaysInMonth', //  5 - 30
47 47
 
48
-        'L' => 'getLeapYearString',             //  0 - 1
49
-        'Y' => 'getYear',                       //  2009
50
-        'y' => 'getYearShort',                  //  09
51
-        'a' => 'getTimeOfDay',                  //	እኩለ፡ሌሊት-ምሽት
52
-        'A' => 'getTimeOfDay',                  //	እኩለ፡ሌሊት-ምሽት
48
+        'L' => 'getLeapYearString', //  0 - 1
49
+        'Y' => 'getYear', //  2009
50
+        'y' => 'getYearShort', //  09
51
+        'a' => 'getTimeOfDay', //	እኩለ፡ሌሊት-ምሽት
52
+        'A' => 'getTimeOfDay', //	እኩለ፡ሌሊት-ምሽት
53 53
 
54 54
         // custom
55
-        'x' => 'getOrthodoxDay',                //  ልደታ - ማርቆስ
56
-        'X' => 'getOrthodoxYear',               //  ማቴዎስ - ዮሐንስ
57
-        'E' => 'getTextualEra',                 //  ዓ/ዓ, ዓ/ም
55
+        'x' => 'getOrthodoxDay', //  ልደታ - ማርቆስ
56
+        'X' => 'getOrthodoxYear', //  ማቴዎስ - ዮሐንስ
57
+        'E' => 'getTextualEra', //  ዓ/ዓ, ዓ/ም
58 58
 
59
-        'K' => 'getYearInGeez',                 //  ፳፻፱
60
-        'V' => 'getDayInGeez',                  //  ፪
59
+        'K' => 'getYearInGeez', //  ፳፻፱
60
+        'V' => 'getDayInGeez', //  ፪
61 61
 
62
-        'e' => 'getTimeZoneString',             // የምስራቅ አፍሪካ ሰዓት (አዲስ አበባ)
63
-        'T' => 'getTimeZoneString',             // የምስራቅ አፍሪካ ሰዓት (አዲስ አበባ)
62
+        'e' => 'getTimeZoneString', // የምስራቅ አፍሪካ ሰዓት (አዲስ አበባ)
63
+        'T' => 'getTimeZoneString', // የምስራቅ አፍሪካ ሰዓት (አዲስ አበባ)
64 64
 
65
-        'S' => 'getOrdinalSuffix',              // ኛው
66
-        'r' => 'getFormattedDate',              // ቅዳ, 01 መስ 2008 00:00:00 +0330
65
+        'S' => 'getOrdinalSuffix', // ኛው
66
+        'r' => 'getFormattedDate', // ቅዳ, 01 መስ 2008 00:00:00 +0330
67 67
     ];
68 68
 
69 69
     const TIME_ZONES = [
Please login to merge, or discard this patch.