@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | * |
125 | 125 | * @param string $name |
126 | 126 | * @param mixed $value |
127 | - * @return ViewModel |
|
127 | + * @return HTMLTemplateMessage |
|
128 | 128 | */ |
129 | 129 | public function setVariable($name, $value) |
130 | 130 | { |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | * |
186 | 186 | * Resets the internal variable container to an empty container. |
187 | 187 | * |
188 | - * @return ViewModel |
|
188 | + * @return HTMLTemplateMessage |
|
189 | 189 | */ |
190 | 190 | public function clearVariables() |
191 | 191 | { |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | |
196 | 196 | /** |
197 | 197 | * |
198 | - * @param $template |
|
198 | + * @param string $template |
|
199 | 199 | * |
200 | 200 | * @return self |
201 | 201 | */ |
@@ -205,6 +205,9 @@ discard block |
||
205 | 205 | return $this; |
206 | 206 | } |
207 | 207 | |
208 | + /** |
|
209 | + * @return string |
|
210 | + */ |
|
208 | 211 | public function getTemplate() |
209 | 212 | { |
210 | 213 | return $this->template; |
@@ -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']) |
@@ -102,7 +102,7 @@ |
||
102 | 102 | * </pre> |
103 | 103 | * |
104 | 104 | * @param string $subject |
105 | - * @param bool|mixed $translate |
|
105 | + * @param string $translate |
|
106 | 106 | * |
107 | 107 | * @since 0.19 |
108 | 108 | * @since 0.29 Add sprintf support for translation |
@@ -34,6 +34,9 @@ |
||
34 | 34 | { |
35 | 35 | } |
36 | 36 | |
37 | + /** |
|
38 | + * @param string $directory |
|
39 | + */ |
|
37 | 40 | public static function load($directory) |
38 | 41 | { |
39 | 42 | $directory = rtrim($directory, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR; |
@@ -40,7 +40,6 @@ |
||
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |
43 | - * @param ContainerInterface $serviceLocator |
|
44 | 43 | * @return mixed|Paginator |
45 | 44 | */ |
46 | 45 | public function createService(ContainerInterface $container) |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | } |
37 | 37 | |
38 | 38 | /** |
39 | - * @param $name |
|
39 | + * @param string $name |
|
40 | 40 | * |
41 | 41 | * @return mixed |
42 | 42 | */ |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * @param array $data |
61 | 61 | * |
62 | - * @return mixed |
|
62 | + * @return EntityInterface |
|
63 | 63 | */ |
64 | 64 | public function create(array $data = null, $persist = false) |
65 | 65 | { |
@@ -108,6 +108,9 @@ |
||
108 | 108 | return $entities; |
109 | 109 | } |
110 | 110 | |
111 | + /** |
|
112 | + * @return string |
|
113 | + */ |
|
111 | 114 | protected function getRepositoryName() |
112 | 115 | { |
113 | 116 | if (0 === strpos($this->repositoryName, '\\')) { |
@@ -31,7 +31,7 @@ |
||
31 | 31 | |
32 | 32 | /** |
33 | 33 | * @param mixed $value |
34 | - * @param null $queryBuilder |
|
34 | + * @param \Doctrine\ODM\MongoDB\Query\Builder $queryBuilder |
|
35 | 35 | * @return mixed |
36 | 36 | * @throws \DomainException |
37 | 37 | */ |
@@ -33,6 +33,9 @@ |
||
33 | 33 | return $this; |
34 | 34 | } |
35 | 35 | |
36 | + /** |
|
37 | + * @param string $name |
|
38 | + */ |
|
36 | 39 | public function setNamespace($name) |
37 | 40 | { |
38 | 41 | $this->namespace = $name; |