Migrated to PHPUnit mocks in RobotsActionTest

This commit is contained in:
Alejandro Celaya
2022-10-12 18:23:36 +02:00
parent 4b958e8b87
commit 8cfa0b595c
6 changed files with 13 additions and 14 deletions

View File

@@ -17,7 +17,7 @@ use const PHP_EOL;
class RobotsAction implements RequestHandlerInterface, StatusCodeInterface
{
public function __construct(private CrawlingHelperInterface $crawlingHelper)
public function __construct(private readonly CrawlingHelperInterface $crawlingHelper)
{
}