Skip to content

Commit

Permalink
functions prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed May 25, 2018
1 parent 9f403da commit e7b1961
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Middleware/ExpressiveFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public function __invoke(ContainerInterface $container) : Expressive
return $this->createMiddlewareInstance($container, $configuration);
}

$containerClass = get_class($container);
if (in_array($containerClass, array_keys(self::CONTAINERS_TRANSFORM), true)) {
$containerClass = \get_class($container);
if (\in_array($containerClass, \array_keys(self::CONTAINERS_TRANSFORM), true)) {
$configuration = $this->verifyConfig($configuration, $containerClass);
/** @var \ErrorHeroModule\Transformer\TransformerInterface $transformer */
$transformer = self::CONTAINERS_TRANSFORM[$containerClass];
Expand Down

0 comments on commit e7b1961

Please sign in to comment.