Completed
Pull Request — master (#161)
by Kristof
05:38
created
src/Organizer/OrganizerEditingServiceInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 
13 13
     /**
14 14
      * @param Title $title
15
-     * @param array $adresses
15
+     * @param array $addresses
16 16
      * @param array $phones
17 17
      * @param array $emails
18 18
      * @param array $urls
Please login to merge, or discard this patch.
src/Place/Events/MajorInfoUpdated.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use CultuurNet\UDB3\Calendar;
11 11
 use CultuurNet\UDB3\CalendarInterface;
12 12
 use CultuurNet\UDB3\Event\EventType;
13
-use CultuurNet\UDB3\Location;
14 13
 use CultuurNet\UDB3\Place\PlaceEvent;
15 14
 use CultuurNet\UDB3\Theme;
16 15
 use CultuurNet\UDB3\Title;
Please login to merge, or discard this patch.
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,6 @@
 block discarded – undo
49 49
     /**
50 50
      * @param string $placeId
51 51
      * @param Title $title
52
-     * @param string $location
53 52
      * @param CalendarInterface $calendar
54 53
      */
55 54
     public function __construct($placeId, Title $title, EventType $eventType, Address $address, CalendarInterface $calendar, $theme = null)
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/SavedSearches/FixedSavedSearchRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     protected $user;
17 17
 
18 18
     /**
19
-     * @param String $userId
19
+     * @param String $user
20 20
      */
21 21
     public function __construct(\CultureFeed_User $user)
22 22
     {
Please login to merge, or discard this patch.
src/SavedSearches/Properties/CreatedByQueryString.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
     protected $emailAddress;
13 13
 
14 14
     /**
15
-     * @param String $userId
16 15
      */
17 16
     public function __construct(EmailAddress $emailAddress)
18 17
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
      */
26 26
     private function generateQuery()
27 27
     {
28
-        return 'createdby:' . $this->emailAddress;
28
+        return 'createdby:'.$this->emailAddress;
29 29
     }
30 30
 }
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/Address.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -70,10 +70,10 @@
 block discarded – undo
70 70
     public function serialize()
71 71
     {
72 72
         return [
73
-          'streetAddress' => $this->streetAddress,
74
-          'postalCode' => $this->postalCode,
75
-          'locality' => $this->locality,
76
-          'country' => $this->country,
73
+            'streetAddress' => $this->streetAddress,
74
+            'postalCode' => $this->postalCode,
75
+            'locality' => $this->locality,
76
+            'country' => $this->country,
77 77
         ];
78 78
     }
79 79
 
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.