Completed
Pull Request — master (#143)
by Kristof
09:50 queued 04:32
created
src/Event/ReadModel/JSONLD/CdbXMLImporter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
 
165 165
     /**
166 166
      * @param \CultureFeed_Cdb_Item_Event $event
167
-     * @param $jsonLD
167
+     * @param \stdClass $jsonLD
168 168
      */
169 169
     private function importLabels(\CultureFeed_Cdb_Item_Event $event, $jsonLD)
170 170
     {
Please login to merge, or discard this patch.
src/LocalEntityService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@
 block discarded – undo
78 78
         return $document->getRawBody();
79 79
     }
80 80
 
81
+    /**
82
+     * @param string $id
83
+     */
81 84
     public function iri($id)
82 85
     {
83 86
         return $this->iriGenerator->iri($id);
Please login to merge, or discard this patch.
src/Offer/ReadModel/History/OfferHistoryProjector.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/EventExport/EventExportService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      *  A selection of items that will be included in the export.
92 92
      *  When left empty the whole query will export.
93 93
      *
94
-     * @return bool|string
94
+     * @return false|string
95 95
      *  The destination url of the export file or false if no events were found.
96 96
      */
97 97
     public function exportEvents(
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
      * Generator that yields each unique search result.
264 264
      *
265 265
      * @param int $totalItemCount
266
-     * @param string|object $query
266
+     * @param EventExportQuery $query
267 267
      * @param LoggerInterface $logger
268 268
      *
269 269
      * @return \Generator
Please login to merge, or discard this patch.
src/Event/ReadModel/JSONLD/EventLDProjector.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
     /**
370 370
      * Return the media of an event if it already exists.
371 371
      *
372
-     * @param $eventId
372
+     * @param string $eventId
373 373
      *  The id of the event.
374 374
      *
375 375
      * @return array
@@ -867,6 +867,9 @@  discard block
 block discarded – undo
867 867
         return $document;
868 868
     }
869 869
 
870
+    /**
871
+     * @param string $eventId
872
+     */
870 873
     private function generateSameAs($eventId, $name)
871 874
     {
872 875
         $eventSlug = $this->slugger->slug($name);
Please login to merge, or discard this patch.
src/Offer/Events/AbstractDescriptionTranslated.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @return String
27
+     * @return string
28 28
      */
29 29
     public function getDescription()
30 30
     {
Please login to merge, or discard this patch.
src/Offer/Commands/AbstractTranslateDescription.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @return String
27
+     * @return string
28 28
      */
29 29
     public function getDescription()
30 30
     {
Please login to merge, or discard this patch.
src/Offer/Commands/AbstractTranslateTitle.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @return String
27
+     * @return string
28 28
      */
29 29
     public function getDescription()
30 30
     {
Please login to merge, or discard this patch.
src/Place/Place.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
     /**
86 86
      * Apply the place created event.
87
-     * @param PlaceCreate $placeCreated
87
+     * @param PlaceCreated $placeCreated
88 88
      */
89 89
     protected function applyPlaceCreated(PlaceCreated $placeCreated)
90 90
     {
@@ -114,6 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
     /**
116 116
      * Handle an update command to update organizer.
117
+     * @param string $organizerId
117 118
      */
118 119
     public function updateOrganizer($organizerId)
119 120
     {
@@ -225,7 +226,7 @@  discard block
 block discarded – undo
225 226
      * @param string $cdbXmlNamespaceUri
226 227
      *   The cdb xml namespace uri.
227 228
      *
228
-     * @return Actor
229
+     * @return Place
229 230
      *   The actor.
230 231
      */
231 232
     public static function importFromUDB2Actor(
Please login to merge, or discard this patch.