Skip to content

Commit

Permalink
CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Nov 6, 2020
1 parent 816f5b8 commit 37ec222
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
9 changes: 4 additions & 5 deletions bundle/Controller/FullViewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
use Symfony\Component\Routing\RouterInterface;
use function array_map;
use function explode;
use function trim;

class FullViewController extends Controller
{
Expand All @@ -33,8 +32,8 @@ public function __construct(RouterInterface $router)
/**
* Action for viewing content with ng_category content type identifier.
*
* @deprecated This controller is deprecated, please use SiteAPI query type
* for loading cihldren and CheckRedirect controller for checking the redirect.
* @deprecated this controller is deprecated, please use SiteAPI query type
* for loading cihldren and CheckRedirect controller for checking the redirect
*
* @return \Symfony\Component\HttpFoundation\Response|\Netgen\Bundle\EzPlatformSiteApiBundle\View\ContentView
*/
Expand Down Expand Up @@ -109,8 +108,8 @@ public function viewNgCategory(Request $request, ContentView $view, array $param
/**
* Action for viewing content with ng_landing_page content type identifier.
*
* @deprecated This controller is deprecated, please use CheckRedirect controller
* for checking the redirect.
* @deprecated this controller is deprecated, please use CheckRedirect controller
* for checking the redirect
*
* @return \Symfony\Component\HttpFoundation\Response|\Netgen\Bundle\EzPlatformSiteApiBundle\View\ContentView
*/
Expand Down
6 changes: 3 additions & 3 deletions bundle/Helper/RedirectHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

namespace Netgen\Bundle\SiteBundle\Helper;

use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\RouterInterface;
use eZ\Publish\Core\FieldType\Url\Value as UrlValue;
use Netgen\EzPlatformSiteApi\API\Values\Content;
use Netgen\EzPlatformSiteApi\API\Values\Location;
use Symfony\Component\HttpFoundation\RedirectResponse;
use eZ\Publish\Core\FieldType\Url\Value as UrlValue;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\RouterInterface;
use function mb_stripos;
use function trim;

Expand Down

0 comments on commit 37ec222

Please sign in to comment.