chore: fixes coding style issues

This commit is contained in:
Nuno Maduro
2022-11-09 21:08:19 +00:00
parent acd6bb2234
commit bb56d32643
6 changed files with 17 additions and 19 deletions

View File

@ -5,6 +5,9 @@ declare(strict_types=1);
namespace Pest\Support;
use Closure;
use const PHP_MAJOR_VERSION;
use ReflectionClass;
use Throwable;
@ -132,7 +135,7 @@ final class HigherOrderMessage
private static function getUndefinedMethodMessage(object $target, string $methodName): string
{
if (\PHP_MAJOR_VERSION >= 8) {
if (PHP_MAJOR_VERSION >= 8) {
return sprintf(sprintf(self::UNDEFINED_METHOD, sprintf('%s::%s()', get_class($target), $methodName)));
}