Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/book/v5/tutorials/create-book-module.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,16 +536,16 @@ use Dot\DependencyInjection\Attribute\Inject;
class BookHandler extends AbstractHandler implements RequestHandlerInterface
{
#[Inject(
HalResponseFactory::class,
ResourceGenerator::class,
BookServiceInterface::class,
"config"
HalResponseFactory::class,
ResourceGenerator::class,
)]
public function __construct(
protected HalResponseFactory $responseFactory,
protected ResourceGenerator $resourceGenerator,
protected BookServiceInterface $bookService,
protected array $config
protected ?HalResponseFactory $responseFactory = null,
protected ?ResourceGenerator $resourceGenerator = null,
) {
}

Expand Down