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;
536
536
class BookHandler extends AbstractHandler implements RequestHandlerInterface
537
537
{
538
538
#[Inject(
539
- HalResponseFactory::class,
540
- ResourceGenerator::class,
541
539
BookServiceInterface::class,
542
540
"config"
541
+ HalResponseFactory::class,
542
+ ResourceGenerator::class,
543
543
)]
544
544
public function __construct(
545
- protected HalResponseFactory $responseFactory,
546
- protected ResourceGenerator $resourceGenerator,
547
545
protected BookServiceInterface $bookService,
548
546
protected array $config
547
+ protected ?HalResponseFactory $responseFactory = null,
548
+ protected ?ResourceGenerator $resourceGenerator = null,
549
549
) {
550
550
}
551
551
You can’t perform that action at this time.
0 commit comments