upgraded dependencies

This commit is contained in:
RafficMohammed
2023-01-08 01:59:16 +05:30
parent 51056e3aad
commit f9ae387337
6895 changed files with 133617 additions and 178680 deletions

View File

@@ -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;