Skip to content

Commit

Permalink
Fixed some warnings raised by PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper committed Feb 6, 2020
1 parent 1d7fa08 commit 045295f
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@

class DoctrineAuditRoutingLoader extends Loader implements LoaderInterface
{
/**
* @var AnnotatedRouteControllerLoader
*/
private $annotationLoader;

/**
* @var array
*/
private $configuration;

public function load($resource, ?string $type = null): RouteCollection
Expand All @@ -35,7 +41,7 @@ public function setRoutingLoaderAnnotation(AnnotatedRouteControllerLoader $loade
$this->annotationLoader = $loader;
}

public function setConfiguration(iterable $configuration): void
public function setConfiguration(array $configuration): void
{
$this->configuration = $configuration;
}
Expand Down

0 comments on commit 045295f

Please sign in to comment.