Skip to content

Commit a316e38

Browse files
deguiffabpot
authored andcommitted
Replace get_class() calls by ::class
1 parent a3016f5 commit a316e38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OptionsResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@ public function count(): int
12221222
private function formatValue(mixed $value): string
12231223
{
12241224
if (\is_object($value)) {
1225-
return \get_class($value);
1225+
return $value::class;
12261226
}
12271227

12281228
if (\is_array($value)) {

0 commit comments

Comments
 (0)