Skip to content

Commit 3515eec

Browse files
authored
Fix return type hint for CommandBase::getConfig()
1 parent b87489f commit 3515eec

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

.phan/baseline.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,9 @@
88
* (can be combined with --load-baseline)
99
*/
1010
return [
11-
// # Issue statistics:
12-
// PhanTypeMismatchArgument : 9 occurrences
13-
// PhanDeprecatedFunction : 1 occurrence
14-
// PhanTypeMismatchForeach : 1 occurrence
15-
16-
// Currently, file_suppressions and directory_suppressions are the only supported suppressions
1711
'file_suppressions' => [
18-
'src/Command/AuthCommand.php' => ['PhanTypeMismatchArgument'],
1912
'src/Command/ChecksumsCommand.php' => ['PhanTypeMismatchArgument'],
20-
'src/Command/CommandBase.php' => ['PhanTypeMismatchArgument'],
2113
'src/Command/DownloadCommandBase.php' => ['PhanTypeMismatchForeach'],
2214
'src/Template.php' => ['PhanDeprecatedFunction'],
2315
],
24-
// 'directory_suppressions' => ['src/directory_name' => ['PhanIssueName1', 'PhanIssueName2']] can be manually added if needed.
25-
// (directory_suppressions will currently be ignored by subsequent calls to --save-baseline, but may be preserved in future Phan releases)
2616
];

src/Command/CommandBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ protected function msg(string $msg, ?array $vars = []): string
9999
}
100100

101101
/**
102-
* @return string[][]
102+
* @return string[]
103103
*/
104104
protected function getConfig(InputInterface $input): array
105105
{

0 commit comments

Comments
 (0)