Skip to content

Commit ab91eda

Browse files
committed
Add class to class-string type
1 parent 96202eb commit ab91eda

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/SecurityTxtTest.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ use Spaze\SecurityTxt\Exceptions\SecurityTxtWarning;
1111
use Spaze\SecurityTxt\Fields\SecurityTxtCanonical;
1212
use Spaze\SecurityTxt\Fields\SecurityTxtContact;
1313
use Spaze\SecurityTxt\Fields\SecurityTxtExpiresFactory;
14+
use Spaze\SecurityTxt\Fields\SecurityTxtFieldValue;
1415
use Spaze\SecurityTxt\Fields\SecurityTxtPreferredLanguages;
1516
use Spaze\SecurityTxt\Fields\SecurityTxtUriField;
1617
use Spaze\SecurityTxt\Violations\SecurityTxtCanonicalNotHttps;
@@ -176,7 +177,7 @@ final class SecurityTxtTest extends TestCase
176177

177178
/**
178179
* @param array<string, class-string<SecurityTxtSpecViolation>|null> $values
179-
* @param class-string $fieldClass
180+
* @param class-string<SecurityTxtFieldValue> $fieldClass
180181
* @param callable(SecurityTxt): callable $addFactory
181182
* @param callable(SecurityTxt): (callable(): list<SecurityTxtUriField>) $getFieldFactory
182183
* @param callable $getValue

0 commit comments

Comments
 (0)