File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -536,16 +536,16 @@ use Dot\DependencyInjection\Attribute\Inject;
536536class BookHandler extends AbstractHandler implements RequestHandlerInterface
537537{
538538 #[Inject(
539- HalResponseFactory::class,
540- ResourceGenerator::class,
541539 BookServiceInterface::class,
542540 "config"
541+ HalResponseFactory::class,
542+ ResourceGenerator::class,
543543 )]
544544 public function __construct(
545- protected HalResponseFactory $responseFactory,
546- protected ResourceGenerator $resourceGenerator,
547545 protected BookServiceInterface $bookService,
548546 protected array $config
547+ protected ?HalResponseFactory $responseFactory = null,
548+ protected ?ResourceGenerator $resourceGenerator = null,
549549 ) {
550550 }
551551
You can’t perform that action at this time.
0 commit comments