Completed
Pull Request — master (#281)
by Kristof
04:25
created
src/Event/ReadModel/JSONLD/OrganizerServiceInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * Gets the JSON-LD structure of an Organizer.
17 17
      *
18
-     * @param string $organizerId
18
+     * @param string $oganizerId
19 19
      *   Id of the Organizer.
20 20
      *
21 21
      * @return \stdClass
Please login to merge, or discard this patch.
src/SavedSearches/CombinedSavedSearchRepository.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,6 @@
 block discarded – undo
13 13
     protected $repositories;
14 14
 
15 15
     /**
16
-     * @param SavedSearchRepositoryInterface $repository,...
17
-     *   Optionally an unlimited list of repositories to combine.
18 16
      *
19 17
      * @throws \InvalidArgumentException
20 18
      *   When one of the provided arguments does not implement
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         foreach ($arguments as $argument) {
27 27
             if (!($argument instanceof SavedSearchRepositoryInterface)) {
28 28
                 $error = 'Argument provided should implement SavedSearchRepositoryInterface. ('
29
-                    . get_class($argument) . ' given.)';
29
+                    . get_class($argument).' given.)';
30 30
                 throw new \InvalidArgumentException($error);
31 31
             }
32 32
 
Please login to merge, or discard this patch.
src/Udb3RepositoryTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 
8 8
 namespace CultuurNet\UDB3;
9 9
 
10
-use Assert\Assertion;
11 10
 use Broadway\Domain\AggregateRoot;
12 11
 use Broadway\Domain\DomainEventStream;
13 12
 
Please login to merge, or discard this patch.
src/BookingInfo.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -132,14 +132,14 @@
 block discarded – undo
132 132
     public function serialize()
133 133
     {
134 134
         return [
135
-          'phone' => $this->phone,
136
-          'email' => $this->email,
137
-          'url' => $this->url,
138
-          'urlLabel' => $this->urlLabel,
139
-          'name' => $this->name,
140
-          'description' => $this->description,
141
-          'availabilityStarts' => $this->availabilityStarts,
142
-          'availabilityEnds' => $this->availabilityEnds
135
+            'phone' => $this->phone,
136
+            'email' => $this->email,
137
+            'url' => $this->url,
138
+            'urlLabel' => $this->urlLabel,
139
+            'name' => $this->name,
140
+            'description' => $this->description,
141
+            'availabilityStarts' => $this->availabilityStarts,
142
+            'availabilityEnds' => $this->availabilityEnds
143 143
         ];
144 144
     }
145 145
 
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
@@ -70,9 +70,9 @@
 block discarded – undo
70 70
     public function serialize()
71 71
     {
72 72
         return [
73
-          'id' => $this->id,
74
-          'label' => $this->label,
75
-          'domain' => $this->domain,
73
+            'id' => $this->id,
74
+            'label' => $this->label,
75
+            'domain' => $this->domain,
76 76
         ];
77 77
     }
78 78
 
Please login to merge, or discard this patch.
src/Label.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
     public function equals(Label $label)
34 34
     {
35 35
         return strcmp(
36
-            mb_strtolower((string) $this, 'UTF-8'),
37
-            mb_strtolower((string) $label, 'UTF-8')
36
+            mb_strtolower((string)$this, 'UTF-8'),
37
+            mb_strtolower((string)$label, 'UTF-8')
38 38
         ) == 0;
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
src/Organizer/Events/OrganizerCreated.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -88,11 +88,11 @@
 block discarded – undo
88 88
         }
89 89
 
90 90
         return parent::serialize() + array(
91
-          'title' => (string) $this->getTitle(),
92
-          'addresses' => $addresses,
93
-          'phones' => $this->getPhones(),
94
-          'emails' => $this->getEmails(),
95
-          'urls' => $this->getUrls(),
91
+            'title' => (string) $this->getTitle(),
92
+            'addresses' => $addresses,
93
+            'phones' => $this->getPhones(),
94
+            'emails' => $this->getEmails(),
95
+            'urls' => $this->getUrls(),
96 96
         );
97 97
     }
98 98
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
         }
89 89
 
90 90
         return parent::serialize() + array(
91
-          'title' => (string) $this->getTitle(),
91
+          'title' => (string)$this->getTitle(),
92 92
           'addresses' => $addresses,
93 93
           'phones' => $this->getPhones(),
94 94
           'emails' => $this->getEmails(),
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
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     public function serialize()
34 34
     {
35 35
         return array(
36
-          'organizer_id' => $this->organizerId,
36
+            'organizer_id' => $this->organizerId,
37 37
         );
38 38
     }
39 39
 
Please login to merge, or discard this patch.
src/Place/Events/PlaceCreated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
             $theme = $this->getTheme()->serialize();
114 114
         }
115 115
         return parent::serialize() + array(
116
-            'title' => (string) $this->getTitle(),
116
+            'title' => (string)$this->getTitle(),
117 117
             'event_type' => $this->getEventType()->serialize(),
118 118
             'theme' => $theme,
119 119
             'address' => $this->getAddress()->serialize(),
Please login to merge, or discard this patch.