Completed
Pull Request — master (#379)
by Kristof
12:23
created
src/Event/ReadModel/JSONLD/EventLDProjector.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
 
541 541
     /**
542 542
      * @param EventDeleted $eventDeleted
543
-     * @return null
543
+     * @return JsonDocument
544 544
      */
545 545
     protected function applyEventDeleted(EventDeleted $eventDeleted)
546 546
     {
@@ -651,6 +651,9 @@  discard block
 block discarded – undo
651 651
         }
652 652
     }
653 653
 
654
+    /**
655
+     * @param string $eventId
656
+     */
654 657
     private function generateSameAs($eventId, $name)
655 658
     {
656 659
         $eventSlug = $this->slugger->slug($name);
Please login to merge, or discard this patch.
src/Place/ReadModel/JSONLD/PlaceLDProjector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@
 block discarded – undo
241 241
 
242 242
     /**
243 243
      * @param PlaceDeleted $placeDeleted
244
-     * @return null
244
+     * @return JsonDocument
245 245
      */
246 246
     protected function applyPlaceDeleted(PlaceDeleted $placeDeleted)
247 247
     {
Please login to merge, or discard this patch.
src/Event/EventEditingServiceInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@  discard block
 block discarded – undo
24 24
      * @param string $id
25 25
      * @param Language $language
26 26
      * @param StringLiteral $title
27
+     * @return string
27 28
      */
28 29
     public function updateTitle($id, Language $language, StringLiteral $title);
29 30
 
@@ -33,6 +34,7 @@  discard block
 block discarded – undo
33 34
      * @param string $id
34 35
      * @param Language $language
35 36
      * @param Description $description
37
+     * @return string
36 38
      */
37 39
     public function updateDescription($id, Language $language, Description $description);
38 40
 
@@ -41,6 +43,7 @@  discard block
 block discarded – undo
41 43
      *
42 44
      * @param string $id
43 45
      * @param AgeRange $ageRange
46
+     * @return string
44 47
      */
45 48
     public function updateTypicalAgeRange($id, AgeRange $ageRange);
46 49
 
@@ -48,6 +51,7 @@  discard block
 block discarded – undo
48 51
      * Delete the typical age range of a place.
49 52
      *
50 53
      * @param string $id
54
+     * @return string
51 55
      */
52 56
     public function deleteTypicalAgeRange($id);
53 57
 
@@ -56,6 +60,7 @@  discard block
 block discarded – undo
56 60
      *
57 61
      * @param string $id
58 62
      * @param string $organizerId
63
+     * @return string
59 64
      */
60 65
     public function updateOrganizer($id, $organizerId);
61 66
 
@@ -64,6 +69,7 @@  discard block
 block discarded – undo
64 69
      *
65 70
      * @param string $id
66 71
      * @param string $organizerId
72
+     * @return string
67 73
      */
68 74
     public function deleteOrganizer($id, $organizerId);
69 75
 
@@ -72,6 +78,7 @@  discard block
 block discarded – undo
72 78
      *
73 79
      * @param string $id
74 80
      * @param ContactPoint $contactPoint
81
+     * @return string
75 82
      */
76 83
     public function updateContactPoint($id, ContactPoint $contactPoint);
77 84
 
@@ -80,6 +87,7 @@  discard block
 block discarded – undo
80 87
      *
81 88
      * @param string $id
82 89
      * @param UUID $imageId
90
+     * @return string
83 91
      */
84 92
     public function addImage($id, UUID $imageId);
85 93
 
@@ -106,6 +114,7 @@  discard block
 block discarded – undo
106 114
      *
107 115
      * @param string $id
108 116
      * @param Image $image
117
+     * @return string
109 118
      */
110 119
     public function removeImage($id, Image $image);
111 120
 
Please login to merge, or discard this patch.
src/Offer/Events/AbstractFacilitiesUpdated.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param array $data
35
-     * @return mixed The object instance
35
+     * @return AbstractFacilitiesUpdated The object instance
36 36
      */
37 37
     public static function deserialize(array $data)
38 38
     {
Please login to merge, or discard this patch.
src/Event/Event.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     /**
92 92
      * Factory method to create a new event.
93 93
      *
94
-     * @param $eventId
94
+     * @param string $eventId
95 95
      * @param Language $mainLanguage
96 96
      * @param Title $title
97 97
      * @param EventType $eventType
Please login to merge, or discard this patch.
src/Offer/ReadModel/JSONLD/CdbXMLItemBaseImporter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
     }
154 154
 
155 155
     /**
156
-     * @param \CultureFeed_Cdb_Data_DetailList|\CultureFeed_Cdb_Data_Detail[] $details
156
+     * @param \CultureFeed_Cdb_Data_DetailList $details
157 157
      * @param \stdClass $jsonLD
158 158
      */
159 159
     public function importPriceInfo(
Please login to merge, or discard this patch.