Browse Source

Fix tests

Shalvah 1 year ago
parent
commit
fea04b1afe
2 changed files with 1 additions and 2 deletions
  1. 0 1
      camel/Output/OutputEndpointData.php
  2. 1 1
      src/Extracting/Strategies/Strategy.php

+ 0 - 1
camel/Output/OutputEndpointData.php

@@ -8,7 +8,6 @@ use Illuminate\Support\Arr;
 use Illuminate\Support\Str;
 use Knuckles\Camel\BaseDTO;
 use Knuckles\Camel\Extraction\Metadata;
-use Knuckles\Camel\Extraction\Parameter;
 use Knuckles\Camel\Extraction\ResponseCollection;
 use Knuckles\Camel\Extraction\ResponseField;
 use Knuckles\Scribe\Extracting\Extractor;

+ 1 - 1
src/Extracting/Strategies/Strategy.php

@@ -47,7 +47,7 @@ abstract class Strategy
     {
         if (!empty($only) && !empty($except)) {
             throw new \InvalidArgumentException(
-                "Both \$only and \$except cannot be specified in your ".static::class." settings"
+                "You can not specify both \$only and \$except together in your ".static::class." settings"
             );
         }