@@ -16,6 +16,9 @@ discard block |
||
16 | 16 | |
17 | 17 | class MailServiceConfig extends Config |
18 | 18 | { |
19 | + /** |
|
20 | + * @return \Zend\Mail\Transport\TransportInterface |
|
21 | + */ |
|
19 | 22 | public function getTransport() |
20 | 23 | { |
21 | 24 | return isset($this->config['transport']) |
@@ -40,6 +43,9 @@ discard block |
||
40 | 43 | return null; |
41 | 44 | } |
42 | 45 | |
46 | + /** |
|
47 | + * @return string |
|
48 | + */ |
|
43 | 49 | public function getMailer() |
44 | 50 | { |
45 | 51 | return isset($this->data['mailer']) |
@@ -41,7 +41,6 @@ |
||
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
44 | - * @param ContainerInterface $serviceLocator |
|
45 | 44 | * @return mixed|Paginator |
46 | 45 | */ |
47 | 46 | public function createService(ContainerInterface $container) |
@@ -86,7 +86,6 @@ |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | /** |
89 | - * @param HelperPluginManager $helperPluginManager |
|
90 | 89 | * @return Services |
91 | 90 | */ |
92 | 91 | public static function factory($sm) |
@@ -23,6 +23,7 @@ discard block |
||
23 | 23 | * Sets the Day of the date of birth. |
24 | 24 | * |
25 | 25 | * @param string $birthDay |
26 | + * @return Info |
|
26 | 27 | */ |
27 | 28 | public function setBirthDay($birthDay); |
28 | 29 | |
@@ -37,6 +38,7 @@ discard block |
||
37 | 38 | * Sets the month of the date of birth. |
38 | 39 | * |
39 | 40 | * @param string $birthMonth |
41 | + * @return Info |
|
40 | 42 | */ |
41 | 43 | public function setBirthMonth($birthMonth); |
42 | 44 | |
@@ -51,6 +53,7 @@ discard block |
||
51 | 53 | * Sets the year of the date of birth. |
52 | 54 | * |
53 | 55 | * @param string $email |
56 | + * @return Info |
|
54 | 57 | */ |
55 | 58 | public function setBirthYear($email); |
56 | 59 | |
@@ -65,6 +68,7 @@ discard block |
||
65 | 68 | * Sets the email. |
66 | 69 | * |
67 | 70 | * @param string $email |
71 | + * @return Info |
|
68 | 72 | */ |
69 | 73 | public function setEmail($email); |
70 | 74 | |
@@ -90,6 +94,7 @@ discard block |
||
90 | 94 | * Sets the first name |
91 | 95 | * |
92 | 96 | * @param string $name |
97 | + * @return Info |
|
93 | 98 | */ |
94 | 99 | public function setFirstName($name); |
95 | 100 | |
@@ -104,6 +109,7 @@ discard block |
||
104 | 109 | * Sets the gender |
105 | 110 | * |
106 | 111 | * @param string $gender |
112 | + * @return Info |
|
107 | 113 | */ |
108 | 114 | public function setGender($gender); |
109 | 115 | |
@@ -119,6 +125,7 @@ discard block |
||
119 | 125 | * Sets the last name |
120 | 126 | * |
121 | 127 | * @param string $name |
128 | + * @return Info |
|
122 | 129 | */ |
123 | 130 | public function setLastName($name); |
124 | 131 | |
@@ -133,6 +140,7 @@ discard block |
||
133 | 140 | * Sets the profile Image of an user |
134 | 141 | * |
135 | 142 | * @param EntityInterface $image |
143 | + * @return Info |
|
136 | 144 | */ |
137 | 145 | public function setImage(EntityInterface $image = null); |
138 | 146 | |
@@ -147,6 +155,7 @@ discard block |
||
147 | 155 | * Sets the users street |
148 | 156 | * |
149 | 157 | * @param string $name |
158 | + * @return Info |
|
150 | 159 | */ |
151 | 160 | public function setStreet($name); |
152 | 161 | |
@@ -161,6 +170,7 @@ discard block |
||
161 | 170 | * Sets the users house number |
162 | 171 | * |
163 | 172 | * @param string $houseNumber |
173 | + * @return Info |
|
164 | 174 | */ |
165 | 175 | public function setHouseNumber($houseNumber); |
166 | 176 | |
@@ -186,6 +196,7 @@ discard block |
||
186 | 196 | * |
187 | 197 | * @param string $postalCode |
188 | 198 | * @since 0.20 |
199 | + * @return Info |
|
189 | 200 | */ |
190 | 201 | public function setPostalCode($postalCode); |
191 | 202 | |
@@ -202,6 +213,7 @@ discard block |
||
202 | 213 | * |
203 | 214 | * @param string $phone |
204 | 215 | * @since 0.20 |
216 | + * @return Info |
|
205 | 217 | */ |
206 | 218 | public function setPhone($phone); |
207 | 219 | |
@@ -218,6 +230,7 @@ discard block |
||
218 | 230 | * |
219 | 231 | * @param string $city |
220 | 232 | * @since 0.20 |
233 | + * @return Info |
|
221 | 234 | */ |
222 | 235 | public function setCity($city); |
223 | 236 | |
@@ -234,6 +247,7 @@ discard block |
||
234 | 247 | * |
235 | 248 | * @param string $country |
236 | 249 | * @since 0.30 |
250 | + * @return Info |
|
237 | 251 | */ |
238 | 252 | public function setCountry($country); |
239 | 253 |
@@ -77,6 +77,9 @@ discard block |
||
77 | 77 | return $return === $entity ? $this : $return; |
78 | 78 | } |
79 | 79 | |
80 | + /** |
|
81 | + * @param string $method |
|
82 | + */ |
|
80 | 83 | protected function proxyClone($method, ...$args) |
81 | 84 | { |
82 | 85 | $value = $this->proxy($method, ...$args); |
@@ -85,6 +88,9 @@ discard block |
||
85 | 88 | return $return; |
86 | 89 | } |
87 | 90 | |
91 | + /** |
|
92 | + * @param string $property |
|
93 | + */ |
|
88 | 94 | protected function inaccessible($property) |
89 | 95 | { |
90 | 96 | throw new \DomainException(sprintf( |
@@ -93,6 +99,9 @@ discard block |
||
93 | 99 | )); |
94 | 100 | } |
95 | 101 | |
102 | + /** |
|
103 | + * @param string $property |
|
104 | + */ |
|
96 | 105 | protected function immutable($property) |
97 | 106 | { |
98 | 107 | throw new ImmutablePropertyException($property, $this); |
@@ -69,6 +69,9 @@ |
||
69 | 69 | */ |
70 | 70 | protected $parent; |
71 | 71 | |
72 | + /** |
|
73 | + * @param string $value |
|
74 | + */ |
|
72 | 75 | final public static function filterValue($value) |
73 | 76 | { |
74 | 77 | $value = mb_strtolower($value); |
@@ -91,7 +91,6 @@ discard block |
||
91 | 91 | |
92 | 92 | /** |
93 | 93 | * @param $name |
94 | - * @param array $params |
|
95 | 94 | * |
96 | 95 | * @return string |
97 | 96 | */ |
@@ -102,6 +101,7 @@ discard block |
||
102 | 101 | |
103 | 102 | /** |
104 | 103 | * @When /^I hover over the element "([^"]*)"$/ |
104 | + * @param string $locator |
|
105 | 105 | */ |
106 | 106 | public function iHoverOverTheElement($locator) |
107 | 107 | { |
@@ -247,10 +247,10 @@ discard block |
||
247 | 247 | } |
248 | 248 | |
249 | 249 | /** |
250 | - * @param $locator |
|
250 | + * @param string $locator |
|
251 | 251 | * @param string $selector |
252 | 252 | * |
253 | - * @return \Behat\Mink\Element\NodeElement|mixed|null |
|
253 | + * @return \Behat\Mink\Element\NodeElement|null |
|
254 | 254 | */ |
255 | 255 | public function getElement($locator,$selector='css') |
256 | 256 | { |
@@ -150,6 +150,9 @@ |
||
150 | 150 | ); |
151 | 151 | } |
152 | 152 | |
153 | + /** |
|
154 | + * @param string $contents |
|
155 | + */ |
|
153 | 156 | private function parseEmail($contents) |
154 | 157 | { |
155 | 158 | $addresses = $this->parseEmailAddress($contents); |
@@ -215,6 +215,9 @@ |
||
215 | 215 | $this->buildJob($status,$fields->getRowsHash()); |
216 | 216 | } |
217 | 217 | |
218 | + /** |
|
219 | + * @param \Organizations\Entity\Organization $organization |
|
220 | + */ |
|
218 | 221 | public function buildJob($status, $definitions,$organization = null) |
219 | 222 | { |
220 | 223 | $normalizedField = [ |