Skip to content

Commit 9020282

Browse files
committed
chore: annotate type for variable
1 parent a9268a2 commit 9020282

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/LibraryStarterKit/Console/Question/PackageNamespace.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ public function getDefault()
8585

8686
$packageName = str_replace('/', '\\', $packageName);
8787
$packageNameParts = explode('\\', $packageName);
88+
89+
/** @var string[] $packageNameParts */
8890
$packageNameParts = array_map($this->namify(), $packageNameParts);
8991

9092
return implode('\\', $packageNameParts);

0 commit comments

Comments
 (0)