@@ -42,7 +42,7 @@ |
||
42 | 42 | |
43 | 43 | /** |
44 | 44 | * @param LoggerInterface $log |
45 | - * @param null $redirect |
|
45 | + * @param \Closure $redirect |
|
46 | 46 | */ |
47 | 47 | public function __construct(LoggerInterface $log, $redirect = null) |
48 | 48 | { |
@@ -199,6 +199,10 @@ |
||
199 | 199 | return $lang; |
200 | 200 | } |
201 | 201 | |
202 | + /** |
|
203 | + * @param \Zend\Stdlib\ResponseInterface $response |
|
204 | + * @param string $uri |
|
205 | + */ |
|
202 | 206 | protected function redirect($response, $uri) |
203 | 207 | { |
204 | 208 | $response->setStatusCode(302); |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | * |
135 | 135 | * @param string $name |
136 | 136 | * @param mixed $value |
137 | - * @return ViewModel |
|
137 | + * @return HTMLTemplateMessage |
|
138 | 138 | */ |
139 | 139 | public function setVariable($name, $value) |
140 | 140 | { |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | * |
196 | 196 | * Resets the internal variable container to an empty container. |
197 | 197 | * |
198 | - * @return ViewModel |
|
198 | + * @return HTMLTemplateMessage |
|
199 | 199 | */ |
200 | 200 | public function clearVariables() |
201 | 201 | { |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | /** |
207 | 207 | * |
208 | 208 | * |
209 | - * @param $template |
|
209 | + * @param string $template |
|
210 | 210 | * |
211 | 211 | * @return self |
212 | 212 | */ |
@@ -216,6 +216,9 @@ discard block |
||
216 | 216 | return $this; |
217 | 217 | } |
218 | 218 | |
219 | + /** |
|
220 | + * @return string |
|
221 | + */ |
|
219 | 222 | public function getTemplate() |
220 | 223 | { |
221 | 224 | return $this->template; |
@@ -123,7 +123,7 @@ |
||
123 | 123 | /** |
124 | 124 | * Gets the default from address |
125 | 125 | * |
126 | - * @return null|String|Address|AddressList|array |
|
126 | + * @return string |
|
127 | 127 | */ |
128 | 128 | public function getFrom() |
129 | 129 | { |
@@ -104,6 +104,9 @@ |
||
104 | 104 | return $body; |
105 | 105 | } |
106 | 106 | |
107 | + /** |
|
108 | + * @param string $body |
|
109 | + */ |
|
107 | 110 | protected function parseVariables($body) |
108 | 111 | { |
109 | 112 | if (null === $this->variables) { |
@@ -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; |
@@ -24,7 +24,7 @@ |
||
24 | 24 | |
25 | 25 | /** |
26 | 26 | * @param ServiceLocatorInterface $serviceLocator |
27 | - * @return mixed|Paginator |
|
27 | + * @return Paginator |
|
28 | 28 | */ |
29 | 29 | public function createService(ServiceLocatorInterface $serviceLocator) |
30 | 30 | { |
@@ -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, '\\')) { |
@@ -29,7 +29,6 @@ |
||
29 | 29 | * Attach to an event manager |
30 | 30 | * |
31 | 31 | * @param EventManagerInterface $events |
32 | - * @param integer $priority |
|
33 | 32 | */ |
34 | 33 | public function attach(EventManagerInterface $events) |
35 | 34 | { |