mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-30 05:03:23 +00:00
[Web] Update composer libraries
This commit is contained in:
1297 files changed
+71585
-24460
No files matched your search
@@ -33,18 +33,13 @@ class TranslationReader implements TranslationReaderInterface
|
||||
* Adds a loader to the translation extractor.
|
||||
*
|
||||
* @param string $format The format of the loader
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function addLoader(string $format, LoaderInterface $loader)
|
||||
public function addLoader(string $format, LoaderInterface $loader): void
|
||||
{
|
||||
$this->loaders[$format] = $loader;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function read(string $directory, MessageCatalogue $catalogue)
|
||||
public function read(string $directory, MessageCatalogue $catalogue): void
|
||||
{
|
||||
if (!is_dir($directory)) {
|
||||
return;
|
||||
|
||||
+1
-3
@@ -22,8 +22,6 @@ interface TranslationReaderInterface
|
||||
{
|
||||
/**
|
||||
* Reads translation messages from a directory to the catalogue.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function read(string $directory, MessageCatalogue $catalogue);
|
||||
public function read(string $directory, MessageCatalogue $catalogue): void;
|
||||
}
|
||||
Reference in new issue
Block a user