Skip to content

Commit

Permalink
Apply StyleCI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire authored and soullivaneuh committed Nov 7, 2017
1 parent 4fb1cbb commit e8a840c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Admin/AdminInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ public function getParent();
/**
* @param AdminInterface $admin
*/
public function setParent(AdminInterface $admin);
public function setParent(self $admin);

/**
* Returns true if the Admin class has an Parent Admin defined.
Expand Down
2 changes: 1 addition & 1 deletion Route/RouteCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function getCode($name)
*
* @return RouteCollection
*/
public function addCollection(RouteCollection $collection)
public function addCollection(self $collection)
{
foreach ($collection->getElements() as $code => $route) {
$this->elements[$code] = $route;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
use PHPUnit\Framework\TestCase;
use Sonata\AdminBundle\DependencyInjection\Compiler\AddDependencyCallsCompilerPass;
use Sonata\AdminBundle\DependencyInjection\SonataAdminExtension;
use Sonata\DoctrinePHPCRAdminBundle\Route\PathInfoBuilderSlashes;
use Symfony\Component\DependencyInjection\ChildDefinition;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Definition;
use Symfony\Component\DependencyInjection\DefinitionDecorator;
use Sonata\DoctrinePHPCRAdminBundle\Route\PathInfoBuilderSlashes;

/**
* @author Tiago Garcia
Expand Down

0 comments on commit e8a840c

Please sign in to comment.