Skip to content

Commit

Permalink
cs-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kalibora committed Apr 20, 2019
1 parent 4bd4ddd commit 20cae91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TwigRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
use BEAR\Resource\Code;
use BEAR\Resource\RenderInterface;
use BEAR\Resource\ResourceObject;
use Ray\Aop\WeavedInterface;
use Madapaja\TwigModule\Annotation\TwigRedirectPath;
use Ray\Aop\WeavedInterface;
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Loader\FilesystemLoader;
Expand Down Expand Up @@ -110,7 +110,7 @@ private function isNoContent(ResourceObject $ro) : bool

private function isRedirect(ResourceObject $ro) : bool
{
return in_array($ro->code, [
return \in_array($ro->code, [
Code::MOVED_PERMANENTLY,
Code::FOUND,
Code::SEE_OTHER,
Expand Down

0 comments on commit 20cae91

Please sign in to comment.