Skip to content
Permalink
Browse files

Merge pull request #27 from ergebnis/fix/implement

Fix: Implement Exception interface
  • Loading branch information
localheinz committed Mar 10, 2020
2 parents 1fc1729 + 4a633e6 commit 143123e9603ba972fdb3bd8716504b1e33964236
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/Exception/InvalidDefinition.php
  2. +1 −1 src/Exception/InvalidDirectory.php
@@ -13,7 +13,7 @@

namespace Ergebnis\FactoryBot\Exception;

final class InvalidDefinition extends \RuntimeException
final class InvalidDefinition extends \RuntimeException implements Exception
{
public static function fromClassNameAndException(string $className, \Exception $exception): self
{
@@ -13,7 +13,7 @@

namespace Ergebnis\FactoryBot\Exception;

final class InvalidDirectory extends \InvalidArgumentException
final class InvalidDirectory extends \InvalidArgumentException implements Exception
{
public static function notDirectory(string $directory): self
{

0 comments on commit 143123e

Please sign in to comment.
You can’t perform that action at this time.