@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | } |
114 | 114 | |
115 | 115 | /** |
116 | - * @param $user |
|
116 | + * @param \Core\Entity\EntityInterface $user |
|
117 | 117 | * @return $this |
118 | 118 | */ |
119 | 119 | protected function setUser($user) |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | /** |
206 | 206 | * Email-Address |
207 | 207 | * @param $email string |
208 | - * @return mixed |
|
208 | + * @return Register |
|
209 | 209 | */ |
210 | 210 | protected function setEmail($email) |
211 | 211 | { |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | namespace Organizations\Factory\Controller; |
11 | 11 |
@@ -23,6 +23,9 @@ |
||
23 | 23 | |
24 | 24 | protected $filter; |
25 | 25 | |
26 | + /** |
|
27 | + * @param StripQueryParamsFilter $filter |
|
28 | + */ |
|
26 | 29 | public function setFilter($filter) |
27 | 30 | { |
28 | 31 | $this->filter = $filter; |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -23,6 +23,9 @@ discard block |
||
23 | 23 | |
24 | 24 | protected $filter; |
25 | 25 | |
26 | + /** |
|
27 | + * @param StripQueryParamsFilter $filter |
|
28 | + */ |
|
26 | 29 | public function setFilter($filter) |
27 | 30 | { |
28 | 31 | $this->filter = $filter; |
@@ -44,7 +47,6 @@ discard block |
||
44 | 47 | * Returns a property value of the authenticated user or null, if |
45 | 48 | * no user is authenticated or the property does not exists. |
46 | 49 | * |
47 | - * @param string $property |
|
48 | 50 | * @return \Auth\View\Helper\Auth|NULL |
49 | 51 | */ |
50 | 52 | public function __invoke($uri, array $stripParams = null) |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |
@@ -14,7 +14,7 @@ |
||
14 | 14 | * Create the settings service |
15 | 15 | * |
16 | 16 | * @param ServiceLocatorInterface $serviceLocator |
17 | - * @return ControllerManager |
|
17 | + * @return Config |
|
18 | 18 | */ |
19 | 19 | public function createService(ServiceLocatorInterface $serviceLocator) |
20 | 20 | { |
@@ -78,7 +78,7 @@ |
||
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
81 | - * @return mixed |
|
81 | + * @return RepositoryInterface |
|
82 | 82 | */ |
83 | 83 | public function getRepositories() |
84 | 84 | { |
@@ -348,7 +348,7 @@ |
||
348 | 348 | } |
349 | 349 | } else { |
350 | 350 | if ($array1[$key] != $array2[$key]) { |
351 | - $result[$key] = array( $array1[$key], $array2[$key]); |
|
351 | + $result[$key] = array($array1[$key], $array2[$key]); |
|
352 | 352 | } |
353 | 353 | } |
354 | 354 | if (!empty($subResult)) { |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - * @author [email protected] |
|
9 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + * @author [email protected] |
|
9 | + */ |
|
10 | 10 | |
11 | 11 | namespace Organizations\Form; |
12 | 12 |
@@ -125,7 +125,7 @@ |
||
125 | 125 | } |
126 | 126 | |
127 | 127 | /** |
128 | - * @return number $itemsPerPage |
|
128 | + * @return integer $itemsPerPage |
|
129 | 129 | */ |
130 | 130 | public function getItemsPerPage() |
131 | 131 | { |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Get the current controller instance |
33 | 33 | * |
34 | - * @return null|Dispatchable |
|
34 | + * @return Dispatchable |
|
35 | 35 | */ |
36 | 36 | public function getController() |
37 | 37 | { |
@@ -45,6 +45,9 @@ discard block |
||
45 | 45 | return $this; |
46 | 46 | } |
47 | 47 | |
48 | + /** |
|
49 | + * @param AddressList $header |
|
50 | + */ |
|
48 | 51 | protected function stringFromMailHeader($header) |
49 | 52 | { |
50 | 53 | $erg = ''; |
@@ -133,6 +136,9 @@ discard block |
||
133 | 136 | } |
134 | 137 | } |
135 | 138 | |
139 | + /** |
|
140 | + * @return string |
|
141 | + */ |
|
136 | 142 | protected function getTemplate() |
137 | 143 | { |
138 | 144 | $template = null; |
@@ -13,9 +13,9 @@ discard block |
||
13 | 13 | |
14 | 14 | class mail extends Message implements PluginInterface |
15 | 15 | { |
16 | - protected $controller; |
|
17 | - protected $param; |
|
18 | - protected $config; |
|
16 | + protected $controller; |
|
17 | + protected $param; |
|
18 | + protected $config; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * Set the current controller instance |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | } elseif (isset($this->config['templateHalf'])) { |
142 | 142 | $template = $this->config['templateHalf']; |
143 | 143 | } else { |
144 | - throw new \InvalidArgumentException('Not template provided for Mail.'); |
|
144 | + throw new \InvalidArgumentException('Not template provided for Mail.'); |
|
145 | 145 | } |
146 | 146 | return $template; |
147 | 147 | } |
@@ -154,19 +154,19 @@ discard block |
||
154 | 154 | $from = $this->config['from']; |
155 | 155 | } else { |
156 | 156 | $log->err('A from email address must be provided (Variable $from) in Template: ' . $template); |
157 | - throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template); |
|
157 | + throw new \InvalidArgumentException('A from email address must be provided (Variable $from) in Template: ' . $template); |
|
158 | 158 | } |
159 | 159 | if (isset($this->config['fromName'])) { |
160 | 160 | $fromName = $this->config['fromName']; |
161 | 161 | } else { |
162 | 162 | $log->err('A from name must be provided (Variable $fromName) in Template: ' . $template); |
163 | - throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template); |
|
163 | + throw new \InvalidArgumentException('A from name must be provided (Variable $fromName) in Template: ' . $template); |
|
164 | 164 | } |
165 | 165 | if (isset($this->config['subject'])) { |
166 | 166 | $subject = $this->config['subject']; |
167 | 167 | } else { |
168 | 168 | $log->err('A subject must be provided (Variable $subject) in Template: ' . $template); |
169 | - throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template); |
|
169 | + throw new \InvalidArgumentException('A subject must be provided (Variable $subject) in Template: ' . $template); |
|
170 | 170 | } |
171 | 171 | $this->setFrom($from, $fromName); |
172 | 172 | $this->setSubject($subject); |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | |
81 | 81 | public function template($template) |
82 | 82 | { |
83 | - $controller = get_class($this->controller); |
|
83 | + $controller = get_class($this->controller); |
|
84 | 84 | $services = $this->getController()->getServiceLocator(); |
85 | 85 | |
86 | 86 | $event = new Event(); |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | unset($__vars[$key]); |
129 | 129 | } |
130 | 130 | } |
131 | - unset($__vars['content'],$__vars['controllerIdentifier'],$__vars['controller'],$__vars['resource'],$__vars['template'],$__vars['viewResolver']); |
|
131 | + unset($__vars['content'], $__vars['controllerIdentifier'], $__vars['controller'], $__vars['resource'], $__vars['template'], $__vars['viewResolver']); |
|
132 | 132 | $this->config = $__vars; |
133 | 133 | } |
134 | 134 | } |
@@ -43,6 +43,9 @@ |
||
43 | 43 | ); |
44 | 44 | } |
45 | 45 | |
46 | + /** |
|
47 | + * @return Message |
|
48 | + */ |
|
46 | 49 | public function get($mailPluginName, array $options = array()) |
47 | 50 | { |
48 | 51 | return $this->getMailService()->get($mailPluginName, $options); |
@@ -53,7 +53,7 @@ |
||
53 | 53 | * Sets pagination params and stores them in the session. |
54 | 54 | * |
55 | 55 | * @param String $namespace |
56 | - * @param array|Parameters $params |
|
56 | + * @param \Zend\Stdlib\ParametersInterface $params |
|
57 | 57 | * @return \Core\Controller\Plugin\PaginationParams fluent interface |
58 | 58 | */ |
59 | 59 | public function setParams($namespace, $params) |
@@ -135,7 +135,7 @@ |
||
135 | 135 | public function getList($namespace, $callback) |
136 | 136 | { |
137 | 137 | $session = new Container($namespace); |
138 | - $params = $session->params?:array(); |
|
138 | + $params = $session->params ?: array(); |
|
139 | 139 | if (!$session->list) { |
140 | 140 | $session->list = is_array($callback) |
141 | 141 | ? call_user_func($callback, $session->params) |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @filesource |
|
6 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | - * @license MIT |
|
8 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @filesource |
|
6 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
7 | + * @license MIT |
|
8 | + */ |
|
9 | 9 | |
10 | 10 | /** SettingsEntityResolverFactory.php */ |
11 | 11 | namespace Settings\Repository; |