Skip to content

Commit

Permalink
Add PrototypeBootloader to DEPENDENCIES
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/Bootloader/PrototypeBootloader.php
  • Loading branch information
roxblnfk committed Oct 27, 2023
1 parent 0048710 commit 454c779
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/Bootloader/PrototypeBootloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions tests/app/Entities/Role.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')]
Expand Down

0 comments on commit 454c779

Please sign in to comment.