Improve ExtractorInterface phpdoc

This commit is contained in:
Vincent Langlet 2021-03-28 01:11:02 +01:00 committed by Nyholm
parent 11db9cd250
commit 255b608d6d
No known key found for this signature in database
GPG Key ID: D6332DE2B6F8FA38
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ class FormView implements \ArrayAccess, \IteratorAggregate, \Countable
/**
* The child views.
*
* @var FormView[]
* @var array<string, FormView>
*/
public $children = [];

View File

@ -24,7 +24,7 @@ interface ExtractorInterface
/**
* Extracts translation messages from files, a file or a directory to the catalogue.
*
* @param string|array $resource Files, a file or a directory
* @param string|string[] $resource Files, a file or a directory
*/
public function extract($resource, MessageCatalogue $catalogue);