@@ -238,23 +238,23 @@ |
||
238 | 238 | */ |
239 | 239 | private function getGroup($name) { |
240 | 240 | switch ($name) { |
241 | - case 'guest': |
|
242 | - if ($this->guestGroup === null) { |
|
243 | - $this->guestGroup = GroupQuery::create()->filterByIsGuest(true)->findOne(); |
|
244 | - } |
|
245 | - return $this->guestGroup; |
|
241 | + case 'guest': |
|
242 | + if ($this->guestGroup === null) { |
|
243 | + $this->guestGroup = GroupQuery::create()->filterByIsGuest(true)->findOne(); |
|
244 | + } |
|
245 | + return $this->guestGroup; |
|
246 | 246 | |
247 | - case 'user': |
|
248 | - if ($this->userGroup === null) { |
|
249 | - $this->userGroup = GroupQuery::create()->filterByIsDefault(true)->findOne(); |
|
250 | - } |
|
251 | - return $this->userGroup; |
|
247 | + case 'user': |
|
248 | + if ($this->userGroup === null) { |
|
249 | + $this->userGroup = GroupQuery::create()->filterByIsDefault(true)->findOne(); |
|
250 | + } |
|
251 | + return $this->userGroup; |
|
252 | 252 | |
253 | - case 'admin': |
|
254 | - if ($this->adminGroup === null) { |
|
255 | - $this->adminGroup = GroupQuery::create()->findOneById(3); |
|
256 | - } |
|
257 | - return $this->adminGroup; |
|
253 | + case 'admin': |
|
254 | + if ($this->adminGroup === null) { |
|
255 | + $this->adminGroup = GroupQuery::create()->findOneById(3); |
|
256 | + } |
|
257 | + return $this->adminGroup; |
|
258 | 258 | } |
259 | 259 | } |
260 | 260 |
@@ -14,7 +14,6 @@ |
||
14 | 14 | * long as it does not already exist in the output directory. |
15 | 15 | * |
16 | 16 | */ |
17 | -class Continent extends BaseContinent |
|
18 | -{ |
|
17 | +class Continent extends BaseContinent { |
|
19 | 18 | |
20 | 19 | } |
@@ -14,7 +14,6 @@ |
||
14 | 14 | * long as it does not already exist in the output directory. |
15 | 15 | * |
16 | 16 | */ |
17 | -class ContinentQuery extends BaseContinentQuery |
|
18 | -{ |
|
17 | +class ContinentQuery extends BaseContinentQuery { |
|
19 | 18 | |
20 | 19 | } |
@@ -14,7 +14,6 @@ |
||
14 | 14 | * long as it does not already exist in the output directory. |
15 | 15 | * |
16 | 16 | */ |
17 | -class Extension extends BaseExtension |
|
18 | -{ |
|
17 | +class Extension extends BaseExtension { |
|
19 | 18 | |
20 | 19 | } |
@@ -14,7 +14,6 @@ |
||
14 | 14 | * long as it does not already exist in the output directory. |
15 | 15 | * |
16 | 16 | */ |
17 | -class ExtensionQuery extends BaseExtensionQuery |
|
18 | -{ |
|
17 | +class ExtensionQuery extends BaseExtensionQuery { |
|
19 | 18 | |
20 | 19 | } |
@@ -14,7 +14,6 @@ |
||
14 | 14 | * long as it does not already exist in the output directory. |
15 | 15 | * |
16 | 16 | */ |
17 | -class LanguageFamily extends BaseLanguageFamily |
|
18 | -{ |
|
17 | +class LanguageFamily extends BaseLanguageFamily { |
|
19 | 18 | |
20 | 19 | } |
@@ -14,7 +14,6 @@ |
||
14 | 14 | * long as it does not already exist in the output directory. |
15 | 15 | * |
16 | 16 | */ |
17 | -class LanguageFamilyQuery extends BaseLanguageFamilyQuery |
|
18 | -{ |
|
17 | +class LanguageFamilyQuery extends BaseLanguageFamilyQuery { |
|
19 | 18 | |
20 | 19 | } |
@@ -14,7 +14,6 @@ |
||
14 | 14 | * long as it does not already exist in the output directory. |
15 | 15 | * |
16 | 16 | */ |
17 | -class LanguageScript extends BaseLanguageScript |
|
18 | -{ |
|
17 | +class LanguageScript extends BaseLanguageScript { |
|
19 | 18 | |
20 | 19 | } |
@@ -14,7 +14,6 @@ |
||
14 | 14 | * long as it does not already exist in the output directory. |
15 | 15 | * |
16 | 16 | */ |
17 | -class LanguageScriptQuery extends BaseLanguageScriptQuery |
|
18 | -{ |
|
17 | +class LanguageScriptQuery extends BaseLanguageScriptQuery { |
|
19 | 18 | |
20 | 19 | } |