@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * set service |
| 37 | 37 | * |
| 38 | 38 | * @param $service |
| 39 | - * @return String |
|
| 39 | + * @return Recaptcha |
|
| 40 | 40 | */ |
| 41 | 41 | public function setService($service) |
| 42 | 42 | { |
@@ -28,8 +28,7 @@ |
||
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * This method calls Google ReCaptcha. |
| 31 | - * @param unknown_type $url |
|
| 32 | - * @return unknown |
|
| 31 | + * @return boolean |
|
| 33 | 32 | */ |
| 34 | 33 | public function recaptcha($response, $ipClient = null) |
| 35 | 34 | { |
@@ -8,9 +8,9 @@ |
||
| 8 | 8 | class RecaptchaFactory implements FactoryInterface |
| 9 | 9 | { |
| 10 | 10 | /** |
| 11 | - * @param ServiceLocatorInterface $locator |
|
| 12 | - * @return \PlaygroundCore\Service\Recaptcha |
|
| 13 | - */ |
|
| 11 | + * @param ServiceLocatorInterface $locator |
|
| 12 | + * @return \PlaygroundCore\Service\Recaptcha |
|
| 13 | + */ |
|
| 14 | 14 | public function createService(ServiceLocatorInterface $locator) |
| 15 | 15 | { |
| 16 | 16 | $service = new Recaptcha($locator); |
@@ -139,19 +139,19 @@ discard block |
||
| 139 | 139 | ), |
| 140 | 140 | ), |
| 141 | 141 | ), |
| 142 | - // Give the possibility to call Cron from browser |
|
| 143 | - 'cron' => array( |
|
| 144 | - 'type' => 'Literal', |
|
| 145 | - 'options' => array( |
|
| 146 | - 'route' => 'cron', |
|
| 147 | - 'defaults' => array( |
|
| 148 | - 'controller' => 'playgroundcore_console', |
|
| 149 | - 'action' => 'cron' |
|
| 150 | - ), |
|
| 151 | - ), |
|
| 152 | - ), |
|
| 153 | - ), |
|
| 154 | - ), |
|
| 142 | + // Give the possibility to call Cron from browser |
|
| 143 | + 'cron' => array( |
|
| 144 | + 'type' => 'Literal', |
|
| 145 | + 'options' => array( |
|
| 146 | + 'route' => 'cron', |
|
| 147 | + 'defaults' => array( |
|
| 148 | + 'controller' => 'playgroundcore_console', |
|
| 149 | + 'action' => 'cron' |
|
| 150 | + ), |
|
| 151 | + ), |
|
| 152 | + ), |
|
| 153 | + ), |
|
| 154 | + ), |
|
| 155 | 155 | 'admin' => array( |
| 156 | 156 | 'type' => 'Literal', |
| 157 | 157 | 'priority' => -1000, |
@@ -448,7 +448,7 @@ discard block |
||
| 448 | 448 | 'list' => array( |
| 449 | 449 | 'type' => 'Segment', |
| 450 | 450 | 'options' => array( |
| 451 | - 'route' => '/list', |
|
| 451 | + 'route' => '/list', |
|
| 452 | 452 | 'defaults' => array( |
| 453 | 453 | 'controller' => 'playgroundcore_admin_website', |
| 454 | 454 | 'action' => 'list', |
@@ -459,7 +459,7 @@ discard block |
||
| 459 | 459 | 'edit-active' => array( |
| 460 | 460 | 'type' => 'Segment', |
| 461 | 461 | 'options' => array( |
| 462 | - 'route' => '/edit-active/[:websiteId]', |
|
| 462 | + 'route' => '/edit-active/[:websiteId]', |
|
| 463 | 463 | 'defaults' => array( |
| 464 | 464 | 'controller' => 'playgroundcore_admin_website', |
| 465 | 465 | 'action' => 'editactive', |
@@ -566,6 +566,6 @@ discard block |
||
| 566 | 566 | 'invokables' => array( |
| 567 | 567 | 'NotInBlacklist' => 'PlaygroundCore\Validator\Blacklist', |
| 568 | 568 | 'InMailDomainList' => 'PlaygroundCore\Validator\MailDomain', |
| 569 | - ), |
|
| 569 | + ), |
|
| 570 | 570 | ), |
| 571 | 571 | ); |