mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 16:27:23 +01:00
chore: fixes coding style issues
This commit is contained in:
@ -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)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user