Completed
Pull Request — master (#292)
by Luc
10:06 queued 04:57
created
src/Event/EventEditingServiceInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -18,6 +18,7 @@  discard block
 block discarded – undo
18 18
      *
19 19
      * @param string $id
20 20
      * @param string $description
21
+     * @return string
21 22
      */
22 23
     public function updateDescription($id, $description);
23 24
 
@@ -26,6 +27,7 @@  discard block
 block discarded – undo
26 27
      *
27 28
      * @param string $id
28 29
      * @param AgeRange $ageRange
30
+     * @return string
29 31
      */
30 32
     public function updateTypicalAgeRange($id, AgeRange $ageRange);
31 33
 
@@ -33,6 +35,7 @@  discard block
 block discarded – undo
33 35
      * Delete the typical age range of a place.
34 36
      *
35 37
      * @param string $id
38
+     * @return string
36 39
      */
37 40
     public function deleteTypicalAgeRange($id);
38 41
 
@@ -41,6 +44,7 @@  discard block
 block discarded – undo
41 44
      *
42 45
      * @param string $id
43 46
      * @param string $organizerId
47
+     * @return string
44 48
      */
45 49
     public function updateOrganizer($id, $organizerId);
46 50
 
@@ -49,6 +53,7 @@  discard block
 block discarded – undo
49 53
      *
50 54
      * @param string $id
51 55
      * @param string $organizerId
56
+     * @return string
52 57
      */
53 58
     public function deleteOrganizer($id, $organizerId);
54 59
 
@@ -57,6 +62,7 @@  discard block
 block discarded – undo
57 62
      *
58 63
      * @param string $id
59 64
      * @param ContactPoint $contactPoint
65
+     * @return string
60 66
      */
61 67
     public function updateContactPoint($id, ContactPoint $contactPoint);
62 68
 
@@ -65,6 +71,7 @@  discard block
 block discarded – undo
65 71
      *
66 72
      * @param string $id
67 73
      * @param Image $image
74
+     * @return string
68 75
      */
69 76
     public function addImage($id, Image $image);
70 77
 
@@ -91,6 +98,7 @@  discard block
 block discarded – undo
91 98
      *
92 99
      * @param string $id
93 100
      * @param Image $image
101
+     * @return string
94 102
      */
95 103
     public function removeImage($id, Image $image);
96 104
 
Please login to merge, or discard this patch.
src/Offer/Events/AbstractTypicalAgeRangeUpdated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     public function serialize()
37 37
     {
38 38
         return parent::serialize() + array(
39
-            'typicalAgeRange' => (string) $this->typicalAgeRange,
39
+            'typicalAgeRange' => (string)$this->typicalAgeRange,
40 40
         );
41 41
     }
42 42
 
Please login to merge, or discard this patch.
src/Offer/AgeRange.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,10 +63,10 @@
 block discarded – undo
63 63
      */
64 64
     public function __toString()
65 65
     {
66
-        $from = $this->from ? (string) $this->from : '';
67
-        $to = $this->to ? (string) $this->to : '';
66
+        $from = $this->from ? (string)$this->from : '';
67
+        $to = $this->to ? (string)$this->to : '';
68 68
 
69
-        return $from . '-' . $to;
69
+        return $from.'-'.$to;
70 70
     }
71 71
 
72 72
     /**
Please login to merge, or discard this patch.