Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
alterphp committed May 27, 2019
1 parent 98b09a0 commit 2d41796
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/DependencyInjection/Compiler/TwigPathPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace AlterPHP\EasyAdminExtensionBundle\DependencyInjection\Compiler;

use AlterPHP\EasyAdminExtensionBundle\EasyAdminExtensionBundle;
use EasyCorp\Bundle\EasyAdminBundle\EasyAdminBundle;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;

Expand All @@ -29,7 +28,7 @@ public function process(ContainerBuilder $container)
// Put back user default path
$twigDefaultPath = $container->getParameterBag()->resolveValue('%twig.default_path%');
$userDefaultPath = $twigDefaultPath.'/bundles/EasyAdminMongoOdmBundle/';
if (file_exists($userDefaultPath)) {
if (\file_exists($userDefaultPath)) {
$twigLoaderFilesystemDefinition->addMethodCall(
'prependPath',
[$userDefaultPath, 'EasyAdminMongoOdm']
Expand Down
2 changes: 1 addition & 1 deletion src/EventListener/AbstractPostQueryBuilderSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ abstract class AbstractPostQueryBuilderSubscriber implements EventSubscriberInte
/**
* Tests if $queryBuilder is supported.
*
* @param object $queryBuilder
* @param object $queryBuilder
*
* @return bool
*/
Expand Down
3 changes: 1 addition & 2 deletions src/EventListener/PostQueryBuilderSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

namespace AlterPHP\EasyAdminExtensionBundle\EventListener;

use AlterPHP\EasyAdminExtensionBundle\EventListener\AbstractPostQueryBuilderSubscriber;
use AlterPHP\EasyAdminExtensionBundle\Model\ListFilter;
use Doctrine\ORM\QueryBuilder;
use Doctrine\ORM\Query\QueryException;
use Doctrine\ORM\QueryBuilder;
use EasyCorp\Bundle\EasyAdminBundle\Event\EasyAdminEvents;

/**
Expand Down

0 comments on commit 2d41796

Please sign in to comment.