Skip to content

Commit

Permalink
fix issues with array types (#164)
Browse files Browse the repository at this point in the history
clarify data-types in arrays
  • Loading branch information
davidlienhard committed Apr 10, 2022
1 parent e27755a commit ae904d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class Config implements ConfigInterface

/**
* list of all supported filetypes and the respective parser to use
* @var array<string, class-string>
* @var array<class-string>
*/
private array $filetypeList = [];

Expand Down
2 changes: 1 addition & 1 deletion src/Parser/ParserAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ abstract public function parse(string $fileContent) : array;
*
* @author David Lienhard <github@lienhard.win>
* @copyright David Lienhard
* @return array<int, string>
* @return array<string>
*/
public static function getSupportedFiletypes() : array
{
Expand Down
2 changes: 1 addition & 1 deletion src/Parser/ParserInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function parse(string $fileContent) : array;
*
* @author David Lienhard <github@lienhard.win>
* @copyright David Lienhard
* @return array<int, string>
* @return array<string>
*/
public static function getSupportedFiletypes() : array;
}

0 comments on commit ae904d2

Please sign in to comment.