Skip to content

Commit a73c782

Browse files
committed
fix coding standards
1 parent 7313239 commit a73c782

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: src/EventHandler/Type/Shape/FunctionReturnTypeProvider.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
use Psalm\Plugin\EventHandler\FunctionReturnTypeProviderInterface;
99
use Psalm\Type;
1010

11+
use function array_values;
12+
1113
final class FunctionReturnTypeProvider implements FunctionReturnTypeProviderInterface
1214
{
1315
/**
@@ -62,7 +64,7 @@ public static function getFunctionReturnType(FunctionReturnTypeProviderEvent $ev
6264

6365
$properties = [];
6466
foreach ($argument_shape->properties as $name => $value) {
65-
$type = \array_values($value->getAtomicTypes())[0] ?? null;
67+
$type = array_values($value->getAtomicTypes())[0] ?? null;
6668
if (!$type instanceof Type\Atomic\TGenericObject) {
6769
return null;
6870
}

0 commit comments

Comments
 (0)