@@ -23,7 +23,7 @@ |
||
| 23 | 23 | */ |
| 24 | 24 | public function register(Application $app) |
| 25 | 25 | { |
| 26 | - $app[self::ASSERTION] = function () { |
|
| 26 | + $app[self::ASSERTION] = function() { |
|
| 27 | 27 | return new AssertionFacade(); |
| 28 | 28 | }; |
| 29 | 29 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | */ |
| 24 | 24 | public function provideCommunicationLayerDependencies(Container $container) |
| 25 | 25 | { |
| 26 | - $container[self::FACADE_MAIL] = function (Container $container) { |
|
| 26 | + $container[self::FACADE_MAIL] = function(Container $container) { |
|
| 27 | 27 | return new AuthMailConnectorToMailBridge($container->getLocator()->mail()->facade()); |
| 28 | 28 | }; |
| 29 | 29 | |
@@ -172,7 +172,7 @@ |
||
| 172 | 172 | * @param \Symfony\Component\HttpFoundation\Request $request |
| 173 | 173 | * @param int $idAclRole |
| 174 | 174 | * |
| 175 | - * @return \Symfony\Component\Form\FormInterface |
|
| 175 | + * @return integer |
|
| 176 | 176 | */ |
| 177 | 177 | protected function createAndHandleRuleSetForm(Request $request, $idAclRole) |
| 178 | 178 | { |
@@ -100,7 +100,7 @@ |
||
| 100 | 100 | /** |
| 101 | 101 | * @api |
| 102 | 102 | * |
| 103 | - * @return \Orm\Zed\Glossary\Persistence\SpyGlossaryTranslationQuery |
|
| 103 | + * @return string |
|
| 104 | 104 | */ |
| 105 | 105 | public function queryTranslations() |
| 106 | 106 | { |
@@ -316,7 +316,7 @@ |
||
| 316 | 316 | * |
| 317 | 317 | * @return string |
| 318 | 318 | */ |
| 319 | - $quoteFunction = function ($value) { |
|
| 319 | + $quoteFunction = function($value) { |
|
| 320 | 320 | return "'$value'"; |
| 321 | 321 | }; |
| 322 | 322 | |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | - * @return \Monolog\Handler\HandlerInterface[] |
|
| 27 | + * @return StreamHandler[] |
|
| 28 | 28 | */ |
| 29 | 29 | public function getHandlers() |
| 30 | 30 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | public function register(Application $app) |
| 29 | 29 | { |
| 30 | 30 | $app['twig'] = $app->share( |
| 31 | - $app->extend('twig', function (\Twig_Environment $twig) use ($app) { |
|
| 31 | + $app->extend('twig', function(\Twig_Environment $twig) use ($app) { |
|
| 32 | 32 | $twig->addExtension(new TranslationExtension(new Translator($app['locale']))); |
| 33 | 33 | |
| 34 | 34 | return $twig; |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | /** |
| 98 | 98 | * @param array $user |
| 99 | 99 | * |
| 100 | - * @return array |
|
| 100 | + * @return string[] |
|
| 101 | 101 | */ |
| 102 | 102 | public function createActionButtons(array $user) |
| 103 | 103 | { |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | /** |
| 147 | 147 | * @param array $user |
| 148 | 148 | * |
| 149 | - * @return array |
|
| 149 | + * @return string |
|
| 150 | 150 | */ |
| 151 | 151 | protected function createStatusButton(array $user) |
| 152 | 152 | { |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | */ |
| 23 | 23 | public function provideBusinessLayerDependencies(Container $container) |
| 24 | 24 | { |
| 25 | - $container[self::SALES_QUERY_CONTAINER] = function (Container $container) { |
|
| 25 | + $container[self::SALES_QUERY_CONTAINER] = function(Container $container) { |
|
| 26 | 26 | return $container->getLocator()->sales()->queryContainer(); |
| 27 | 27 | }; |
| 28 | 28 | |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | */ |
| 27 | 27 | public function register(Application $app) |
| 28 | 28 | { |
| 29 | - $app['sub_request'] = $app->share(function () use ($app) { |
|
| 29 | + $app['sub_request'] = $app->share(function() use ($app) { |
|
| 30 | 30 | return new SubRequestHandler($app); |
| 31 | 31 | }); |
| 32 | 32 | } |