Completed
Pull Request — master (#252)
by Kristof
09:20 queued 04:17
created
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/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/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/Event/Event.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -81,6 +81,7 @@
 block discarded – undo
81 81
      * @param CalendarInterface $calendar
82 82
      * @param Theme|null $theme
83 83
      * @param \DateTimeImmutable|null $publicationDate
84
+     * @param string $eventId
84 85
      *
85 86
      * @return Event
86 87
      */
Please login to merge, or discard this patch.