Completed
Pull Request — master (#335)
by Luc
04:41
created
src/Media/Events/MediaObjectCreated.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     }
84 84
 
85 85
     /**
86
-     * @return StringLiteral
86
+     * @return string
87 87
      */
88 88
     public function getDescription()
89 89
     {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     }
92 92
 
93 93
     /**
94
-     * @return StringLiteral
94
+     * @return string
95 95
      */
96 96
     public function getCopyrightHolder()
97 97
     {
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
@@ -22,6 +22,7 @@  discard block
 block discarded – undo
22 22
      * @param string $id
23 23
      * @param Language $language
24 24
      * @param StringLiteral $title
25
+     * @return string
25 26
      */
26 27
     public function updateTitle($id, Language $language, StringLiteral $title);
27 28
 
@@ -31,6 +32,7 @@  discard block
 block discarded – undo
31 32
      * @param string $id
32 33
      * @param Language $language
33 34
      * @param Description $description
35
+     * @return string
34 36
      */
35 37
     public function updateDescription($id, Language $language, Description $description);
36 38
 
@@ -39,6 +41,7 @@  discard block
 block discarded – undo
39 41
      *
40 42
      * @param string $id
41 43
      * @param AgeRange $ageRange
44
+     * @return string
42 45
      */
43 46
     public function updateTypicalAgeRange($id, AgeRange $ageRange);
44 47
 
@@ -46,6 +49,7 @@  discard block
 block discarded – undo
46 49
      * Delete the typical age range of a place.
47 50
      *
48 51
      * @param string $id
52
+     * @return string
49 53
      */
50 54
     public function deleteTypicalAgeRange($id);
51 55
 
@@ -54,6 +58,7 @@  discard block
 block discarded – undo
54 58
      *
55 59
      * @param string $id
56 60
      * @param string $organizerId
61
+     * @return string
57 62
      */
58 63
     public function updateOrganizer($id, $organizerId);
59 64
 
@@ -62,6 +67,7 @@  discard block
 block discarded – undo
62 67
      *
63 68
      * @param string $id
64 69
      * @param string $organizerId
70
+     * @return string
65 71
      */
66 72
     public function deleteOrganizer($id, $organizerId);
67 73
 
@@ -70,6 +76,7 @@  discard block
 block discarded – undo
70 76
      *
71 77
      * @param string $id
72 78
      * @param ContactPoint $contactPoint
79
+     * @return string
73 80
      */
74 81
     public function updateContactPoint($id, ContactPoint $contactPoint);
75 82
 
@@ -78,6 +85,7 @@  discard block
 block discarded – undo
78 85
      *
79 86
      * @param string $id
80 87
      * @param Image $image
88
+     * @return string
81 89
      */
82 90
     public function addImage($id, Image $image);
83 91
 
@@ -104,6 +112,7 @@  discard block
 block discarded – undo
104 112
      *
105 113
      * @param string $id
106 114
      * @param Image $image
115
+     * @return string
107 116
      */
108 117
     public function removeImage($id, Image $image);
109 118
 
Please login to merge, or discard this patch.
src/Offer/Commands/AbstractUpdateTitle.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 StringLiteral
27
+     * @return string
28 28
      */
29 29
     public function getTitle()
30 30
     {
Please login to merge, or discard this patch.
src/Label/ReadModels/JSON/ItemVisibilityProjector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
 
107 107
     /**
108 108
      * @param LabelName $labelName
109
-     * @return \CultuurNet\UDB3\ReadModel\JsonDocument[]|\Generator
109
+     * @return \Generator
110 110
      */
111 111
     private function getRelatedItems(LabelName $labelName)
112 112
     {
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
@@ -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.