Skip to content

Commit 7e3b829

Browse files
committed
fix: resolved review remarks;
1 parent b90d8d9 commit 7e3b829

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"require": {
1919
"php": ">=7.3.0",
2020
"laravel/framework": ">=5.3.0",
21-
"phpunit/phpunit": ">=7.0|<10.0"
21+
"phpunit/phpunit": ">=7.0"
2222
},
2323
"require-dev": {
2424
"orchestra/testbench": "^6.25",

src/Exceptions/InvalidDriverClassException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ class InvalidDriverClassException extends Exception
88
{
99
public function __construct(string $driver)
1010
{
11-
parent::__construct("The driver '{$driver}' does not extend the BaseDriver class.");
11+
parent::__construct("The driver '{$driver}' is not implements the SwaggerDriverInterface.");
1212
}
1313
}

src/Exceptions/MissedRemoteDocumentationUrlException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class MissedRemoteDocumentationUrlException extends Exception
88
{
99
public function __construct($message = null, $code = 0, Exception $previous = null)
1010
{
11-
$message = $message ?? 'Remote documentation url missed in config';
11+
$message = $message ?? 'Remote documentation url missed in config. Please set SWAGGER_REMOTE_DRIVER_URL env variable to define this one.';
1212

1313
parent::__construct($message, $code, $previous);
1414
}

0 commit comments

Comments
 (0)