Completed
Pull Request — master (#102)
by Kristof
08:31 queued 04:09
created
src/DeleteImageTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @return ing
43
+     * @return integer
44 44
      */
45 45
     function getIndexToDelete()
46 46
     {
Please login to merge, or discard this patch.
src/Event/EventLDProjector.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -799,6 +799,9 @@
 block discarded – undo
799 799
         return $document;
800 800
     }
801 801
 
802
+    /**
803
+     * @param string $eventId
804
+     */
802 805
     private function generateSameAs($eventId, $name)
803 806
     {
804 807
         $eventSlug = $this->slugger->slug($name);
Please login to merge, or discard this patch.
src/Event/Events/BookingInfoUpdated.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
     /**
20 20
      * @param string $id
21
-     * @param Object $bookingInfo
21
+     * @param \CultuurNet\UDB3\BookingInfo $bookingInfo
22 22
      */
23 23
     public function __construct($id, $bookingInfo)
24 24
     {
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     }
28 28
 
29 29
     /**
30
-     * @return mixed The object instance
30
+     * @return BookingInfoUpdated The object instance
31 31
      */
32 32
     public static function deserialize(array $data)
33 33
     {
Please login to merge, or discard this patch.
src/Event/Events/EventCreated.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,8 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * @param string $eventId
50 50
      * @param Title $title
51
-     * @param string $location
52
-     * @param DateTime $date
51
+     * @param Location $location
53 52
      */
54 53
     public function __construct($eventId, Title $title, EventType $eventType, Location $location, CalendarInterface $calendar, $theme = null)
55 54
     {
@@ -87,7 +86,7 @@  discard block
 block discarded – undo
87 86
     }
88 87
 
89 88
     /**
90
-     * @return CalendarBase
89
+     * @return CalendarInterface
91 90
      */
92 91
     public function getCalendar()
93 92
     {
Please login to merge, or discard this patch.
src/Event/Events/EventCreatedFromCdbXml.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @return mixed The object instance
45
+     * @return EventCreatedFromCdbXml The object instance
46 46
      */
47 47
     public static function deserialize(array $data)
48 48
     {
Please login to merge, or discard this patch.
src/Event/Events/EventUpdatedFromCdbXml.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     }
43 43
 
44 44
     /**
45
-     * @return mixed The object instance
45
+     * @return EventUpdatedFromCdbXml The object instance
46 46
      */
47 47
     public static function deserialize(array $data)
48 48
     {
Please login to merge, or discard this patch.
src/Event/ReadModel/History/HistoryProjector.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     }
126 126
 
127 127
     /**
128
-     * @param $dateString
128
+     * @param string $dateString
129 129
      * @return \DateTime
130 130
      */
131 131
     private function dateFromUdb2DateString($dateString)
@@ -351,7 +351,7 @@  discard block
 block discarded – undo
351 351
 
352 352
     /**
353 353
      * @param string $eventId
354
-     * @param Log[]|Log $logs
354
+     * @param Log $logs
355 355
      */
356 356
     protected function writeHistory($eventId, $logs)
357 357
     {
Please login to merge, or discard this patch.
src/Event/ReadModel/JSONLD/CdbXMLImporter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     }
113 113
 
114 114
     /**
115
-     * @param $dateString
115
+     * @param string $dateString
116 116
      * @return \DateTime
117 117
      */
118 118
     private function dateFromUdb2DateString($dateString)
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 
162 162
     /**
163 163
      * @param \CultureFeed_Cdb_Item_Event $event
164
-     * @param $jsonLD
164
+     * @param \stdClass $jsonLD
165 165
      */
166 166
     private function importLabels(\CultureFeed_Cdb_Item_Event $event, $jsonLD)
167 167
     {
Please login to merge, or discard this patch.
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.