Skip to content

Commit

Permalink
Use new exception while generate mixin interface
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-demb committed Oct 29, 2020
1 parent ddfd720 commit ac7fe5d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions bin/src/MixinGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use ArrayAccess;
use Closure;
use Countable;
use InvalidArgumentException;
use ReflectionClass;
use ReflectionException;
use ReflectionMethod;
Expand Down Expand Up @@ -70,7 +69,6 @@ private function namespace(): string
$namespace .= sprintf("use %s;\n", ArrayAccess::class);
$namespace .= sprintf("use %s;\n", Closure::class);
$namespace .= sprintf("use %s;\n", Countable::class);
$namespace .= sprintf("use %s;\n", InvalidArgumentException::class);
$namespace .= sprintf("use %s;\n", Throwable::class);
$namespace .= "\n";

Expand Down
1 change: 0 additions & 1 deletion src/Mixin.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use ArrayAccess;
use Closure;
use Countable;
use InvalidArgumentException;
use Throwable;

interface Mixin
Expand Down

0 comments on commit ac7fe5d

Please sign in to comment.