Completed
Pull Request — master (#296)
by Luc
04:59
created
src/Calendar/OpeningHour.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     public static function deserialize(array $data)
72 72
     {
73 73
         $weekDays = array_map(
74
-            function ($dayOfWeek) {
74
+            function($dayOfWeek) {
75 75
                 return WeekDay::fromNative($dayOfWeek);
76 76
             },
77 77
             $data['dayOfWeek']
@@ -94,11 +94,11 @@  discard block
 block discarded – undo
94 94
     public function serialize()
95 95
     {
96 96
         $serializedWeekDays = array_map(
97
-            function (WeekDay $weekDay) {
97
+            function(WeekDay $weekDay) {
98 98
                 return $weekDay->getValue();
99 99
             },
100 100
             $this->weekDays
101
-        ) ;
101
+        );
102 102
 
103 103
         return [
104 104
             'opens' => $this->opens->toNativeDateTime()->format(self::FORMAT),
Please login to merge, or discard this patch.
src/Calendar/OpeningTime.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
      */
60 60
     public function toNativeString()
61 61
     {
62
-        return (string) $this;
62
+        return (string)$this;
63 63
     }
64 64
 
65 65
     /**
Please login to merge, or discard this patch.