@@ -34,7 +34,7 @@ |
||
34 | 34 | } |
35 | 35 | |
36 | 36 | /** |
37 | - * @return string|\Zend\View\Helper\HelperInterface |
|
37 | + * @return string |
|
38 | 38 | */ |
39 | 39 | public function getViewHelper() |
40 | 40 | { |
@@ -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; |
@@ -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 | { |
@@ -14,6 +14,9 @@ |
||
14 | 14 | |
15 | 15 | class OrganizationName extends AbstractRepository |
16 | 16 | { |
17 | + /** |
|
18 | + * @param string $name |
|
19 | + */ |
|
17 | 20 | public function findbyName($name, $create = true) |
18 | 21 | { |
19 | 22 | $entity = $this->findOneBy(array('name' => $name)); |
@@ -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; |
@@ -34,7 +34,7 @@ |
||
34 | 34 | } |
35 | 35 | |
36 | 36 | /** |
37 | - * @return string|\Zend\View\Helper\HelperInterface |
|
37 | + * @return string |
|
38 | 38 | */ |
39 | 39 | public function getViewHelper() |
40 | 40 | { |
@@ -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 |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | 3 | * |
4 | - */ |
|
4 | + */ |
|
5 | 5 | |
6 | 6 | namespace Core\Form\View\Helper; |
7 | 7 |
@@ -29,7 +29,7 @@ |
||
29 | 29 | |
30 | 30 | /** |
31 | 31 | * @param ServiceLocatorInterface $serviceLocator |
32 | - * @return $this|mixed |
|
32 | + * @return viewModelTemplateFilterFactory |
|
33 | 33 | */ |
34 | 34 | public function createService(ServiceLocatorInterface $serviceLocator) |
35 | 35 | { |
@@ -111,7 +111,7 @@ |
||
111 | 111 | |
112 | 112 | /** |
113 | 113 | * @param mixed $value |
114 | - * @return mixed|ViewModel |
|
114 | + * @return ViewModel |
|
115 | 115 | * @throws \InvalidArgumentException |
116 | 116 | */ |
117 | 117 | public function filter($value) |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | throw new \InvalidArgumentException('cannot create a viewModel for Templates without aa $job'); |
172 | 172 | } |
173 | 173 | $location = $this->job->getLocation(); |
174 | - $this->container['location'] = isset($location)?$location:''; |
|
174 | + $this->container['location'] = isset($location) ? $location : ''; |
|
175 | 175 | return $this; |
176 | 176 | } |
177 | 177 | |
@@ -192,7 +192,7 @@ discard block |
||
192 | 192 | } |
193 | 193 | $description = $this->job->templateValues->description; |
194 | 194 | |
195 | - $this->container['description'] = isset($description)?$description:''; |
|
195 | + $this->container['description'] = isset($description) ? $description : ''; |
|
196 | 196 | return $this; |
197 | 197 | } |
198 | 198 | |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | $organization = $this->job->organization; |
215 | 215 | if (isset($organization)) { |
216 | 216 | $organizationName = $organization->organizationName->name; |
217 | - $organizationStreet = $organization->contact->street.' '.$organization->contact->houseNumber; |
|
217 | + $organizationStreet = $organization->contact->street . ' ' . $organization->contact->houseNumber; |
|
218 | 218 | $organizationPostalCode = $organization->contact->postalcode; |
219 | 219 | $organizationPostalCity = $organization->contact->city; |
220 | 220 | $organizationPhone = $organization->contact->phone; |
@@ -247,9 +247,9 @@ discard block |
||
247 | 247 | if (!isset($this->job)) { |
248 | 248 | throw new \InvalidArgumentException('cannot create a viewModel for Templates without a $job'); |
249 | 249 | } |
250 | - $labelQualifications=''; |
|
251 | - $labelBenefits=''; |
|
252 | - $labelRequirements=''; |
|
250 | + $labelQualifications = ''; |
|
251 | + $labelBenefits = ''; |
|
252 | + $labelRequirements = ''; |
|
253 | 253 | |
254 | 254 | $organization = $this->job->organization; |
255 | 255 | if (isset($organization)) { |
@@ -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 |
@@ -499,7 +499,7 @@ |
||
499 | 499 | */ |
500 | 500 | public function getTemplate() |
501 | 501 | { |
502 | - if (null === $this->template){ |
|
502 | + if (null === $this->template) { |
|
503 | 503 | $this->template = new Template(); |
504 | 504 | } |
505 | 505 | return $this->template; |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * YAWIK |
|
4 | - * |
|
5 | - * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
6 | - * @license MIT |
|
7 | - */ |
|
3 | + * YAWIK |
|
4 | + * |
|
5 | + * @copyright (c) 2013 - 2016 Cross Solution (http://cross-solution.de) |
|
6 | + * @license MIT |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | namespace Organizations\Entity; |
10 | 10 |
@@ -169,7 +169,7 @@ |
||
169 | 169 | /** |
170 | 170 | * Gets the parent of an organization |
171 | 171 | * |
172 | - * @return null|OrganizationInterface |
|
172 | + * @return OrganizationInterface |
|
173 | 173 | */ |
174 | 174 | public function getParent() |
175 | 175 | { |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | */ |
72 | 72 | public function setHouseNumber($houseNumber = "") |
73 | 73 | { |
74 | - $this->houseNumber=$houseNumber; |
|
74 | + $this->houseNumber = $houseNumber; |
|
75 | 75 | return $this; |
76 | 76 | } |
77 | 77 | |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | */ |
138 | 138 | public function setStreet($street = "") |
139 | 139 | { |
140 | - $this->street=$street; |
|
140 | + $this->street = $street; |
|
141 | 141 | return $this; |
142 | 142 | } |
143 | 143 | |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | */ |
161 | 161 | public function setPhone($phone = "") |
162 | 162 | { |
163 | - $this->phone=$phone; |
|
163 | + $this->phone = $phone; |
|
164 | 164 | } |
165 | 165 | |
166 | 166 | /** |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | */ |
183 | 183 | public function setFax($fax = "") |
184 | 184 | { |
185 | - $this->fax=$fax; |
|
185 | + $this->fax = $fax; |
|
186 | 186 | } |
187 | 187 | |
188 | 188 | /** |
@@ -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; |