提交的内容
This commit is contained in:
2
vendor/guzzlehttp/guzzle-services/src/Handler/ValidatedDescriptionHandler.php
vendored
Executable file → Normal file
2
vendor/guzzlehttp/guzzle-services/src/Handler/ValidatedDescriptionHandler.php
vendored
Executable file → Normal file
@ -23,7 +23,7 @@ class ValidatedDescriptionHandler
|
||||
/**
|
||||
* ValidatedDescriptionHandler constructor.
|
||||
*/
|
||||
public function __construct(DescriptionInterface $description, SchemaValidator $schemaValidator = null)
|
||||
public function __construct(DescriptionInterface $description, ?SchemaValidator $schemaValidator = null)
|
||||
{
|
||||
$this->description = $description;
|
||||
$this->validator = $schemaValidator ?: new SchemaValidator();
|
||||
|
||||
Reference in New Issue
Block a user