Completed
Pull Request — master (#276)
by Kristof
07:05
created
src/Event/ReadModel/JSONLD/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/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/Events/Image/AbstractImageEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 
49 49
     /**
50 50
      * @param array $data
51
-     * @return mixed The object instance
51
+     * @return AbstractImageEvent The object instance
52 52
      */
53 53
     public static function deserialize(array $data)
54 54
     {
Please login to merge, or discard this patch.
src/Variations/Command/CreateOfferVariationJSONDeserializer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @param mixed $json
73
+     * @param stdClass $json
74 74
      *
75 75
      * @throws ValidationException
76 76
      */
Please login to merge, or discard this patch.
src/Variations/Command/EditDescriptionJSONDeserializer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     }
71 71
 
72 72
     /**
73
-     * @param mixed $json
73
+     * @param stdClass $json
74 74
      *
75 75
      * @throws ValidationException
76 76
      */
Please login to merge, or discard this patch.
src/ReadModel/Index/Doctrine/DBALRepository.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     }
187 187
 
188 188
     /**
189
-     * @param $id
189
+     * @param string $id
190 190
      * @param EntityType $entityType
191 191
      * @return bool
192 192
      */
@@ -316,6 +316,9 @@  discard block
 block discarded – undo
316 316
         );
317 317
     }
318 318
 
319
+    /**
320
+     * @param string $userId
321
+     */
319 322
     private function getPagedDashboardItems(
320 323
         $userId,
321 324
         Natural $limit,
@@ -340,6 +343,10 @@  discard block
 block discarded – undo
340 343
 
341 344
         $results = $queryBuilder->execute();
342 345
         $offerIdentifierArray = array_map(
346
+
347
+            /**
348
+             * @param string $resultRow
349
+             */
343 350
             function ($resultRow) {
344 351
                 $offerIdentifier = new IriOfferIdentifier(
345 352
                     $resultRow['entity_iri'],
Please login to merge, or discard this patch.
src/Offer/Events/AbstractContactPointUpdated.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-     * @return mixed The object instance
41
+     * @return AbstractContactPointUpdated The object instance
42 42
      */
43 43
     public static function deserialize(array $data)
44 44
     {
Please login to merge, or discard this patch.
src/Offer/Events/AbstractLabelEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 
46 46
     /**
47 47
      * @param array $data
48
-     * @return mixed The object instance
48
+     * @return AbstractLabelEvent The object instance
49 49
      */
50 50
     public static function deserialize(array $data)
51 51
     {
Please login to merge, or discard this patch.
src/Event/LocalEventService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      * @param string $id
37 37
      *   A string uniquely identifying an event.
38 38
      *
39
-     * @return array
39
+     * @return string
40 40
      *   An event array.
41 41
      *
42 42
      * @throws EventNotFoundException if an event can not be found for the given id
Please login to merge, or discard this patch.