diff --git a/app/src/Domain/Repository/Episode/EpisodeFileRepositoryInterface.php b/app/src/Domain/Repository/Episode/EpisodeFileRepositoryInterface.php index 0853d27..f573023 100644 --- a/app/src/Domain/Repository/Episode/EpisodeFileRepositoryInterface.php +++ b/app/src/Domain/Repository/Episode/EpisodeFileRepositoryInterface.php @@ -4,14 +4,13 @@ namespace Slovocast\Domain\Repository\Episode; use Slovocast\Domain\Entity\Episode; use Slovocast\Domain\Entity\Episode\File; -use Slovocast\Domain\RepositoryInterface; /** * The Episode File repository should consist of getting and setting the data * about the file stored in the database. The implementation of this class * should concern itself with the data _about_ the file, not the file itself. */ -interface EpisodeFileRepositoryInterface extends RepositoryInterface +interface EpisodeFileRepositoryInterface { public function get(string $location): File; public function getFromEpisode(Episode $episode): File; diff --git a/app/src/Domain/Repository/Episode/EpisodeRepositoryInterface.php b/app/src/Domain/Repository/Episode/EpisodeRepositoryInterface.php index d6862c5..ca1603b 100644 --- a/app/src/Domain/Repository/Episode/EpisodeRepositoryInterface.php +++ b/app/src/Domain/Repository/Episode/EpisodeRepositoryInterface.php @@ -4,9 +4,8 @@ namespace Slovocast\Domain\Repository\Episode; use Slovocast\Domain\Entity\Episode; use Slovocast\Domain\Entity\Channel; -use Slovocast\Domain\RepositoryInterface; -interface EpisodeRepositoryInterface extends RepositoryInterface +interface EpisodeRepositoryInterface { public function get(int $id): Episode; diff --git a/app/src/Domain/Repository/Image/ImageRepositoryInterface.php b/app/src/Domain/Repository/Image/ImageRepositoryInterface.php index 1eed9c0..cce9b6f 100644 --- a/app/src/Domain/Repository/Image/ImageRepositoryInterface.php +++ b/app/src/Domain/Repository/Image/ImageRepositoryInterface.php @@ -2,10 +2,9 @@ namespace Slovocast\Domain\Repository\Image; -use Slovocast\Domain\RepositoryInterface; use Slovocast\Domain\Entity\Image; -interface ImageRepositoryInterface extends RepositoryInterface +interface ImageRepositoryInterface { public function get(int $id): Image; public function getFromUrl(string $url): Image; diff --git a/app/src/Domain/Repository/User/UserRepositoryInterface.php b/app/src/Domain/Repository/User/UserRepositoryInterface.php index aba48cc..83208f2 100644 --- a/app/src/Domain/Repository/User/UserRepositoryInterface.php +++ b/app/src/Domain/Repository/User/UserRepositoryInterface.php @@ -2,10 +2,9 @@ namespace Slovocast\Domain\Repository\User; -use Slovocast\Domain\RepositoryInterface; use Slovocast\Domain\Entity\User; -interface UserRepositoryInterface extends RepositoryInterface +interface UserRepositoryInterface { public function get(int $id): User; public function getFromEmail(string $email): User; diff --git a/app/src/Domain/RepositoryInterface.php b/app/src/Domain/RepositoryInterface.php deleted file mode 100644 index 68d3607..0000000 --- a/app/src/Domain/RepositoryInterface.php +++ /dev/null @@ -1,16 +0,0 @@ -