Skip to content

Commit

Permalink
all parameters in one line (#769)
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark authored and core23 committed Jan 16, 2017
1 parent 041e17a commit 9634acd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
9 changes: 1 addition & 8 deletions Listener/ExceptionListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,7 @@ class ExceptionListener
* @param array $httpErrorCodes An array of http error codes' routes
* @param LoggerInterface|null $logger Logger instance
*/
public function __construct(SiteSelectorInterface $siteSelector,
CmsManagerSelectorInterface $cmsManagerSelector,
$debug,
EngineInterface $templating,
PageServiceManagerInterface $pageServiceManager,
DecoratorStrategyInterface $decoratorStrategy,
array $httpErrorCodes,
LoggerInterface $logger = null)
public function __construct(SiteSelectorInterface $siteSelector, CmsManagerSelectorInterface $cmsManagerSelector, $debug, EngineInterface $templating, PageServiceManagerInterface $pageServiceManager, DecoratorStrategyInterface $decoratorStrategy, array $httpErrorCodes, LoggerInterface $logger = null)
{
$this->siteSelector = $siteSelector;
$this->cmsManagerSelector = $cmsManagerSelector;
Expand Down
10 changes: 2 additions & 8 deletions Twig/Extension/PageExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,8 @@ class PageExtension extends \Twig_Extension implements \Twig_Extension_InitRunti
* @param HttpKernelExtension $httpKernelExtension
* @param bool $hideDisabledBlocks
*/
public function __construct(
CmsManagerSelectorInterface $cmsManagerSelector,
SiteSelectorInterface $siteSelector,
RouterInterface $router,
BlockHelper $blockHelper,
HttpKernelExtension $httpKernelExtension,
$hideDisabledBlocks = false
) {
public function __construct(CmsManagerSelectorInterface $cmsManagerSelector, SiteSelectorInterface $siteSelector, RouterInterface $router, BlockHelper $blockHelper, HttpKernelExtension $httpKernelExtension, $hideDisabledBlocks = false)
{
$this->cmsManagerSelector = $cmsManagerSelector;
$this->siteSelector = $siteSelector;
$this->router = $router;
Expand Down

0 comments on commit 9634acd

Please sign in to comment.