8000 Use ::class whenever possible from fabbot.io · symfonyaml/symfony@ed02046 · GitHub
[go: up one dir, main page]

Skip to content

Commit ed02046

Browse files
author
symfonyaml
committed
Use ::class whenever possible from fabbot.io
1 parent 9b9928f commit ed02046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Validator/Constraints/VideoValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function validate(mixed $value, Constraint $constraint): void
2626
throw new UnexpectedTypeException($constraint, Video::class);
2727
}
2828

29-
if (!class_exists('FFMpeg\FFProbe')) {
29+
if (!class_exists(\FFMpeg\FFProbe::class)) {
3030
throw new \LogicException('The "php-ffmpeg/php-ffmpeg" library must be installed to use the Video constraint. Try running "composer require php-ffmpeg/php-ffmpeg".');
3131
}
3232

0 commit comments

Comments
 (0)
0