diff --git a/src/Bootloader/PrototypeBootloader.php b/src/Bootloader/PrototypeBootloader.php index 52f09f9..7d6bf0e 100644 --- a/src/Bootloader/PrototypeBootloader.php +++ b/src/Bootloader/PrototypeBootloader.php @@ -15,6 +15,10 @@ final class PrototypeBootloader extends Bootloader { + protected const DEPENDENCIES = [ + BasePrototypeBootloader::class, + ]; + public function boot(AbstractKernel $kernel): void { $kernel->bootstrapped($this->bindDatabase(...)); 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')]