@@ -84,7 +84,7 @@ |
||
84 | 84 | { |
85 | 85 | /* @var $serviceLocator \Zend\Form\FormElementManager */ |
86 | 86 | $service = $serviceLocator->getServiceLocator(); |
87 | - $options=null; |
|
87 | + $options = null; |
|
88 | 88 | if ($this->options) { |
89 | 89 | $options = $service->get($this->options); |
90 | 90 | } |
@@ -94,7 +94,7 @@ |
||
94 | 94 | |
95 | 95 | $view = $e->getApplication()->getServiceManager()->get('ViewManager')->getView(); |
96 | 96 | $view->addRenderingStrategy(array($strategy, 'selectRenderer'), 10); |
97 | - $view->addResponseStrategy(array($strategy, 'injectResponse'), 10); |
|
97 | + $view->addResponseStrategy(array($strategy, 'injectResponse'), 10); |
|
98 | 98 | |
99 | 99 | } |
100 | 100 | } |
@@ -8,7 +8,7 @@ |
||
8 | 8 | |
9 | 9 | class StringListener implements ListenerAggregateInterface |
10 | 10 | { |
11 | - protected $listeners = array(); |
|
11 | + protected $listeners = array(); |
|
12 | 12 | |
13 | 13 | /** |
14 | 14 | * Attach to an event manager |
@@ -51,7 +51,7 @@ |
||
51 | 51 | if (!empty($capture)) { |
52 | 52 | if ($viewModel->isAppend()) { |
53 | 53 | $oldResult = $viewModel->{$capture}; |
54 | - $viewModel->setVariable($capture, $oldResult . $result); |
|
54 | + $viewModel->setVariable($capture, $oldResult.$result); |
|
55 | 55 | } else { |
56 | 56 | $viewModel->setVariable($capture, $result); |
57 | 57 | } |
@@ -58,7 +58,7 @@ |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | |
61 | - $dm = $eventArgs->getDocumentManager(); |
|
61 | + $dm = $eventArgs->getDocumentManager(); |
|
62 | 62 | $uow = $dm->getUnitOfWork(); |
63 | 63 | $changeset = $uow->getDocumentChangeset($document); |
64 | 64 | $filter = $this->getKeywordsFilter(); |
@@ -42,8 +42,8 @@ |
||
42 | 42 | $document->preUpdate($prePersist); |
43 | 43 | |
44 | 44 | if (!$prePersist) { |
45 | - $dm = $eventArgs->getDocumentManager(); |
|
46 | - $uow = $dm->getUnitOfWork(); |
|
45 | + $dm = $eventArgs->getDocumentManager(); |
|
46 | + $uow = $dm->getUnitOfWork(); |
|
47 | 47 | $uow->recomputeSingleDocumentChangeSet($dm->getClassMetadata(get_class($document)), $document); |
48 | 48 | } |
49 | 49 |
@@ -60,7 +60,7 @@ |
||
60 | 60 | foreach ($this->fileNames as $obj) { |
61 | 61 | if (is_string($obj)) { |
62 | 62 | if (array_key_exists($obj, $this->fileObjects)) { |
63 | - $erg[] = $this->fileObjects[$obj]; |
|
63 | + $erg[] = $this->fileObjects[$obj]; |
|
64 | 64 | } |
65 | 65 | } else { |
66 | 66 | $erg[] = $obj; |
@@ -22,7 +22,7 @@ |
||
22 | 22 | */ |
23 | 23 | public function __invoke($gender) |
24 | 24 | { |
25 | - $return=""; |
|
25 | + $return = ""; |
|
26 | 26 | switch ($gender) { |
27 | 27 | case "male": |
28 | 28 | $return = "Mr."; |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | */ |
34 | 34 | public function setName($name) |
35 | 35 | { |
36 | - $this->name=$name; |
|
36 | + $this->name = $name; |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | */ |
52 | 52 | public function setLevel($level) |
53 | 53 | { |
54 | - $this->level=$level; |
|
54 | + $this->level = $level; |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
@@ -78,7 +78,7 @@ |
||
78 | 78 | */ |
79 | 79 | public function setCurrentIndicator($currentIndicator) |
80 | 80 | { |
81 | - $this->currentIndicator=$currentIndicator; |
|
81 | + $this->currentIndicator = $currentIndicator; |
|
82 | 82 | return $this; |
83 | 83 | } |
84 | 84 |
@@ -156,41 +156,41 @@ |
||
156 | 156 | return $this->description; |
157 | 157 | } |
158 | 158 | |
159 | - /** |
|
160 | - * @return string |
|
161 | - */ |
|
162 | - public function getCountry() |
|
163 | - { |
|
164 | - return $this->country; |
|
165 | - } |
|
166 | - |
|
167 | - /** |
|
168 | - * @param string $country |
|
169 | - * @return Education |
|
170 | - */ |
|
171 | - public function setCountry($country) |
|
172 | - { |
|
173 | - $this->country = $country; |
|
159 | + /** |
|
160 | + * @return string |
|
161 | + */ |
|
162 | + public function getCountry() |
|
163 | + { |
|
164 | + return $this->country; |
|
165 | + } |
|
166 | + |
|
167 | + /** |
|
168 | + * @param string $country |
|
169 | + * @return Education |
|
170 | + */ |
|
171 | + public function setCountry($country) |
|
172 | + { |
|
173 | + $this->country = $country; |
|
174 | 174 | |
175 | - return $this; |
|
176 | - } |
|
177 | - |
|
178 | - /** |
|
179 | - * @return string |
|
180 | - */ |
|
181 | - public function getCity() |
|
182 | - { |
|
183 | - return $this->city; |
|
184 | - } |
|
185 | - |
|
186 | - /** |
|
187 | - * @param string $city |
|
188 | - * @return Education |
|
189 | - */ |
|
190 | - public function setCity($city) |
|
191 | - { |
|
192 | - $this->city = $city; |
|
175 | + return $this; |
|
176 | + } |
|
177 | + |
|
178 | + /** |
|
179 | + * @return string |
|
180 | + */ |
|
181 | + public function getCity() |
|
182 | + { |
|
183 | + return $this->city; |
|
184 | + } |
|
185 | + |
|
186 | + /** |
|
187 | + * @param string $city |
|
188 | + * @return Education |
|
189 | + */ |
|
190 | + public function setCity($city) |
|
191 | + { |
|
192 | + $this->city = $city; |
|
193 | 193 | |
194 | - return $this; |
|
195 | - } |
|
194 | + return $this; |
|
195 | + } |
|
196 | 196 | } |