diff --git a/src/Bootloader/PrototypeBootloader.php b/src/Bootloader/PrototypeBootloader.php index 440fca6..07ed0e4 100644 --- a/src/Bootloader/PrototypeBootloader.php +++ b/src/Bootloader/PrototypeBootloader.php @@ -14,6 +14,10 @@ final class PrototypeBootloader extends Bootloader { + protected const DEPENDENCIES = [ + BasePrototypeBootloader::class, + ]; + public function boot(BasePrototypeBootloader $prototype, ContainerInterface $container): void { $this->bindDatabase($prototype); diff --git a/tests/app/Entities/Role.php b/tests/app/Entities/Role.php index fd75a1c..72b956a 100644 --- a/tests/app/Entities/Role.php +++ b/tests/app/Entities/Role.php @@ -6,9 +6,9 @@ use Cycle\Annotated\Annotation\Column; use Cycle\Annotated\Annotation\Entity; -use Spiral\App\Repositories\RoleRepositoryInterface; +use Spiral\App\Repositories\RoleRepository; -#[Entity(repository: RoleRepositoryInterface::class)] +#[Entity(repository: RoleRepository::class)] class Role { #[Column(type: 'primary')]