Passed
Push — updateToPhp8.2 ( 6c89e3...aa116c )
by Andreas
02:47
created
src/CalendarDayFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 {
41 41
     public static function createCalendarDay(int $day, int $month, string $calendar): CalendarDay
42 42
     {
43
-        if (! Calendar::isValidCalendarName($calendar)) {
43
+        if (!Calendar::isValidCalendarName($calendar)) {
44 44
             throw new UnknownCalendar(sprintf(
45 45
                 'The calendar %s is not known to the ICU',
46 46
                 $calendar
Please login to merge, or discard this patch.
src/Factory/SwapDecoratorFactory.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
 		return new SwapRule(
62 62
 			$direction,
63 63
 			GregorianWeekday::fromString($to),
64
-			...array_map(function ($item) {
64
+			...array_map(function($item) {
65 65
 				return GregorianWeekday::fromString($item);
66 66
 			}, explode(' ', $when))
67 67
 		);
Please login to merge, or discard this patch.
src/IteratorItem/DateFollowUp.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 			];
85 85
 		}
86 86
 
87
-		return array_map(function (string $day) use ($daymap) {
87
+		return array_map(function(string $day) use ($daymap) {
88 88
 			if (!isset($daymap[$day])) {
89 89
 				return null;
90 90
 			}
Please login to merge, or discard this patch.