@@ -20,8 +20,8 @@ |
||
20 | 20 | public function init() |
21 | 21 | { |
22 | 22 | $this->setName('base'); |
23 | - //->setLabel( /* @translate */ 'General'); |
|
24 | - //->setHydrator(new \Core\Model\Hydrator\ModelHydrator()); |
|
23 | + //->setLabel( /* @translate */ 'General'); |
|
24 | + //->setHydrator(new \Core\Model\Hydrator\ModelHydrator()); |
|
25 | 25 | |
26 | 26 | |
27 | 27 | $this->add( |
@@ -194,7 +194,7 @@ |
||
194 | 194 | $qb->addOr($qb->expr()->field('info.email')->equals($regex)); |
195 | 195 | } |
196 | 196 | $qb->sort(array('info.lastName' => 1)) |
197 | - ->sort(array('info.email' => 1)); |
|
197 | + ->sort(array('info.email' => 1)); |
|
198 | 198 | |
199 | 199 | return $qb->getQuery()->execute(); |
200 | 200 | } |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * Gets the Day of the date of birth |
31 | 31 | * |
32 | 32 | * @return string |
33 | - */ |
|
33 | + */ |
|
34 | 34 | public function getBirthDay(); |
35 | 35 | |
36 | 36 | /** |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * Gets the month of the date of birth |
45 | 45 | * |
46 | 46 | * @return string |
47 | - */ |
|
47 | + */ |
|
48 | 48 | public function getBirthMonth(); |
49 | 49 | |
50 | 50 | /** |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * Gets the Year of the date of birth. |
59 | 59 | * |
60 | 60 | * @return string |
61 | - */ |
|
61 | + */ |
|
62 | 62 | public function getBirthYear(); |
63 | 63 | |
64 | 64 | /** |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | * Gets the gender |
112 | 112 | * |
113 | 113 | * @return string |
114 | - */ |
|
114 | + */ |
|
115 | 115 | public function getGender(); |
116 | 116 | |
117 | 117 | |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | * Gets the users street |
155 | 155 | * |
156 | 156 | * @return string |
157 | - */ |
|
157 | + */ |
|
158 | 158 | public function getStreet(); |
159 | 159 | |
160 | 160 | /** |
@@ -28,9 +28,9 @@ discard block |
||
28 | 28 | public function init() |
29 | 29 | { |
30 | 30 | $this->setName('data') |
31 | - ->setLabel('Group data') |
|
32 | - ->setUseAsBaseFieldset(true) |
|
33 | - ->setHydrator(new EntityHydrator()); |
|
31 | + ->setLabel('Group data') |
|
32 | + ->setUseAsBaseFieldset(true) |
|
33 | + ->setHydrator(new EntityHydrator()); |
|
34 | 34 | |
35 | 35 | $this->add( |
36 | 36 | array( |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | 'required' => true, |
70 | 70 | 'validators' => array( |
71 | 71 | array('name' => 'Auth/Form/UniqueGroupName', |
72 | - 'options' => array( |
|
72 | + 'options' => array( |
|
73 | 73 | 'allowName' => 'edit' == $this->getOption('mode') |
74 | 74 | ? $this->getObject()->getName() |
75 | 75 | : null |
@@ -93,8 +93,8 @@ |
||
93 | 93 | // Create a file with the class/file map. |
94 | 94 | // Stupid syntax highlighters make separating < from PHP declaration necessary |
95 | 95 | $content = '<' . "?php\n" |
96 | - . "\n" |
|
97 | - . 'return ' . var_export($config, true) . ';'; |
|
96 | + . "\n" |
|
97 | + . 'return ' . var_export($config, true) . ';'; |
|
98 | 98 | |
99 | 99 | // Fix \' strings from injected DIRECTORY_SEPARATOR usage in iterator_apply op |
100 | 100 | $content = str_replace("\\'", "'", $content); |
@@ -211,14 +211,14 @@ |
||
211 | 211 | { |
212 | 212 | return $this->repository; |
213 | 213 | } |
214 | - /** |
|
215 | - * @param SocialProfilePlugin |
|
216 | - * @return HybridAuth |
|
217 | - */ |
|
218 | - public function setSocialProfilePlugin(SocialProfilePlugin $socialProfilePlugin) |
|
219 | - { |
|
220 | - $this->socialProfilePlugin = $socialProfilePlugin; |
|
214 | + /** |
|
215 | + * @param SocialProfilePlugin |
|
216 | + * @return HybridAuth |
|
217 | + */ |
|
218 | + public function setSocialProfilePlugin(SocialProfilePlugin $socialProfilePlugin) |
|
219 | + { |
|
220 | + $this->socialProfilePlugin = $socialProfilePlugin; |
|
221 | 221 | |
222 | - return $this; |
|
223 | - } |
|
222 | + return $this; |
|
223 | + } |
|
224 | 224 | } |
@@ -61,14 +61,14 @@ |
||
61 | 61 | return $this->useDefaultValidation ? \Zend\Form\Form::isValid() : parent::isValid(); |
62 | 62 | } |
63 | 63 | |
64 | - /** |
|
65 | - * @param bool $bool |
|
66 | - * @return SocialProfiles |
|
67 | - */ |
|
68 | - public function setUseDefaultValidation($bool) |
|
69 | - { |
|
70 | - $this->useDefaultValidation = (bool)$bool; |
|
64 | + /** |
|
65 | + * @param bool $bool |
|
66 | + * @return SocialProfiles |
|
67 | + */ |
|
68 | + public function setUseDefaultValidation($bool) |
|
69 | + { |
|
70 | + $this->useDefaultValidation = (bool)$bool; |
|
71 | 71 | |
72 | - return $this; |
|
73 | - } |
|
72 | + return $this; |
|
73 | + } |
|
74 | 74 | } |
@@ -33,7 +33,7 @@ |
||
33 | 33 | ]; |
34 | 34 | |
35 | 35 | // do nothing for allowed routes |
36 | - if (in_array($routeName, $allowedRoutes)) |
|
36 | + if (in_array($routeName, $allowedRoutes)) |
|
37 | 37 | { |
38 | 38 | return; |
39 | 39 | } |
@@ -84,9 +84,9 @@ |
||
84 | 84 | $imageStrategy = $infoContainer->getForm('info.image') |
85 | 85 | ->getHydrator() |
86 | 86 | ->getStrategy('image'); |
87 | - $fileEntity = $imageStrategy->getFileEntity(); |
|
88 | - $fileEntity->setUser($user); |
|
89 | - $imageStrategy->setFileEntity($fileEntity); |
|
87 | + $fileEntity = $imageStrategy->getFileEntity(); |
|
88 | + $fileEntity->setUser($user); |
|
89 | + $imageStrategy->setFileEntity($fileEntity); |
|
90 | 90 | |
91 | 91 | if ($this->request->isPost()) { |
92 | 92 | $formName = $params->fromQuery('form'); |