Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Hantz <[email protected]>
  • Loading branch information
LucasHantz authored Jun 29, 2022
1 parent 4317870 commit bf8a019
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/autoload.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php // phpcs:disable WebimpressCodingStandard.PHP.CorrectClassNameCase.Invalid


declare(strict_types=1);

use Interop\Container\Containerinterface as InteropContainerInterface;
Expand All @@ -9,12 +10,12 @@
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;

if (!interface_exists(InteropContainerInterface::class, false)) {
if (! interface_exists(InteropContainerInterface::class, false)) {
class_alias(ContainerInterface::class, InteropContainerInterface::class);
}
if (!interface_exists(InteropContainerException::class, false)) {
if (! interface_exists(InteropContainerException::class, false)) {
class_alias(ContainerExceptionInterface::class, InteropContainerException::class);
}
if (!interface_exists(InteropNotFoundException::class, false)) {
if (! interface_exists(InteropNotFoundException::class, false)) {
class_alias(NotFoundExceptionInterface::class, InteropNotFoundException::class);
}

0 comments on commit bf8a019

Please sign in to comment.