Skip to content

Commit

Permalink
Add missing array type
Browse files Browse the repository at this point in the history
  • Loading branch information
adriansuter committed May 6, 2020
1 parent ba9dc32 commit 66629ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
parameters:
level: max
inferPrivatePropertyTypeFromConstructor: true
checkMissingIterableValueType: false
4 changes: 2 additions & 2 deletions src/Dictionaries/ArrayDictionary.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
class ArrayDictionary implements DictionaryInterface
{
/**
* @var array
* @var array<string>
*/
private $data;

/**
* @param array $data
* @param array<string> $data
*/
public function __construct(array $data = [])
{
Expand Down

0 comments on commit 66629ff

Please sign in to comment.