Skip to content

Commit

Permalink
Fix code style in PhpStormStubsLocator
Browse files Browse the repository at this point in the history
  • Loading branch information
vudaltsov committed Aug 6, 2024
1 parent e31f25a commit 6bded3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhpStormReflectionStubs/PhpStormStubsLocator.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private static function changeDetector(): ChangeDetector
public function locate(ConstantId|NamedFunctionId|NamedClassId $id): ?Resource
{
$relativePath = match (true) {
$id instanceof ConstantId => defined($id->name) ? null : PhpStormStubsMap::CONSTANTS[$id->name] ?? null,
$id instanceof ConstantId => \defined($id->name) ? null : PhpStormStubsMap::CONSTANTS[$id->name] ?? null,
$id instanceof NamedFunctionId => PhpStormStubsMap::FUNCTIONS[$id->name] ?? null,
$id instanceof NamedClassId => PhpStormStubsMap::CLASSES[$id->name] ?? null,
};
Expand Down

0 comments on commit 6bded3f

Please sign in to comment.