Completed
Pull Request — master (#472)
by
unknown
02:37
created
src/BookingInfo.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -38,6 +38,13 @@
 block discarded – undo
38 38
      */
39 39
     protected $availabilityEnds;
40 40
 
41
+    /**
42
+     * @param MultilingualString $urlLabel
43
+     * @param string $phone
44
+     * @param string $email
45
+     * @param DateTimeImmutable $availabilityStarts
46
+     * @param DateTimeImmutable $availabilityEnds
47
+     */
41 48
     public function __construct(
42 49
         ?string $url = null,
43 50
         ?MultilingualString $urlLabel = null,
Please login to merge, or discard this patch.
src/ContactPoint.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,9 +50,9 @@
 block discarded – undo
50 50
     public function serialize(): array
51 51
     {
52 52
         return [
53
-          'phone' => $this->phones,
54
-          'email' => $this->emails,
55
-          'url' => $this->urls,
53
+            'phone' => $this->phones,
54
+            'email' => $this->emails,
55
+            'url' => $this->urls,
56 56
         ];
57 57
     }
58 58
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,21 +75,21 @@
 block discarded – undo
75 75
     public static function fromUdb3ModelContactPoint(Udb3ModelContactPoint $contactPoint): ContactPoint
76 76
     {
77 77
         $phones = array_map(
78
-            function (TelephoneNumber $phone) {
78
+            function(TelephoneNumber $phone) {
79 79
                 return $phone->toString();
80 80
             },
81 81
             $contactPoint->getTelephoneNumbers()->toArray()
82 82
         );
83 83
 
84 84
         $emails = array_map(
85
-            function (EmailAddress $emailAddress) {
85
+            function(EmailAddress $emailAddress) {
86 86
                 return $emailAddress->toString();
87 87
             },
88 88
             $contactPoint->getEmailAddresses()->toArray()
89 89
         );
90 90
 
91 91
         $urls = array_map(
92
-            function (Url $url) {
92
+            function(Url $url) {
93 93
                 return $url->toString();
94 94
             },
95 95
             $contactPoint->getUrls()->toArray()
Please login to merge, or discard this patch.
src/Organizer/Events/WebsiteUpdated.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
     public function serialize(): array
28 28
     {
29 29
         return parent::serialize() + [
30
-            'website' => (string) $this->getWebsite(),
30
+            'website' => (string)$this->getWebsite(),
31 31
         ];
32 32
     }
33 33
 
Please login to merge, or discard this patch.
src/Organizer/Events/OrganizerCreatedWithUniqueWebsite.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,8 @@
 block discarded – undo
55 55
     {
56 56
         return parent::serialize() + [
57 57
             'main_language' => $this->getMainLanguage()->getCode(),
58
-            'website' => (string) $this->getWebsite(),
59
-            'title' => (string) $this->getTitle(),
58
+            'website' => (string)$this->getWebsite(),
59
+            'title' => (string)$this->getTitle(),
60 60
         ];
61 61
     }
62 62
 
Please login to merge, or discard this patch.
src/Organizer/Events/OrganizerEvent.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     public function serialize(): array
25 25
     {
26 26
         return [
27
-          'organizer_id' => $this->organizerId,
27
+            'organizer_id' => $this->organizerId,
28 28
         ];
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
src/Organizer/Events/AbstractLabelEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     public function serialize(): array
45 45
     {
46 46
         return parent::serialize() + [
47
-            'label' => (string) $this->label,
47
+            'label' => (string)$this->label,
48 48
             'visibility' => $this->label->isVisible(),
49 49
         ];
50 50
     }
Please login to merge, or discard this patch.
src/Address/Address.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -65,10 +65,10 @@
 block discarded – undo
65 65
     public function serialize(): array
66 66
     {
67 67
         return [
68
-          'streetAddress' => $this->streetAddress->toNative(),
69
-          'postalCode' => $this->postalCode->toNative(),
70
-          'addressLocality' => $this->locality->toNative(),
71
-          'addressCountry' => $this->countryCode,
68
+            'streetAddress' => $this->streetAddress->toNative(),
69
+            'postalCode' => $this->postalCode->toNative(),
70
+            'addressLocality' => $this->locality->toNative(),
71
+            'addressCountry' => $this->countryCode,
72 72
         ];
73 73
     }
74 74
 
Please login to merge, or discard this patch.
src/Category.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,9 +56,9 @@
 block discarded – undo
56 56
     public function serialize(): array
57 57
     {
58 58
         return [
59
-          'id' => $this->id,
60
-          'label' => $this->label,
61
-          'domain' => $this->domain,
59
+            'id' => $this->id,
60
+            'label' => $this->label,
61
+            'domain' => $this->domain,
62 62
         ];
63 63
     }
64 64
 
Please login to merge, or discard this patch.
src/Offer/Events/AbstractTitleUpdated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function serialize(): array
26 26
     {
27 27
         return parent::serialize() + array(
28
-            'title' => (string) $this->title,
28
+            'title' => (string)$this->title,
29 29
         );
30 30
     }
31 31
 
Please login to merge, or discard this patch.