upgraded dependencies
This commit is contained in:
@@ -25,7 +25,7 @@ class TranslationReader implements TranslationReaderInterface
|
||||
/**
|
||||
* Loaders used for import.
|
||||
*
|
||||
* @var array
|
||||
* @var array<string, LoaderInterface>
|
||||
*/
|
||||
private $loaders = [];
|
||||
|
||||
@@ -34,7 +34,7 @@ class TranslationReader implements TranslationReaderInterface
|
||||
*
|
||||
* @param string $format The format of the loader
|
||||
*/
|
||||
public function addLoader($format, LoaderInterface $loader)
|
||||
public function addLoader(string $format, LoaderInterface $loader)
|
||||
{
|
||||
$this->loaders[$format] = $loader;
|
||||
}
|
||||
@@ -42,7 +42,7 @@ class TranslationReader implements TranslationReaderInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function read($directory, MessageCatalogue $catalogue)
|
||||
public function read(string $directory, MessageCatalogue $catalogue)
|
||||
{
|
||||
if (!is_dir($directory)) {
|
||||
return;
|
||||
|
Reference in New Issue
Block a user