mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-26 19:23:23 +00:00
[Web] Some minor fixes and improvements for PHP 8
This commit is contained in:
138 files changed
+2398
-2342
No files matched your search
@@ -27,10 +27,8 @@ class TranslationWriter implements TranslationWriterInterface
|
||||
|
||||
/**
|
||||
* Adds a dumper to the writer.
|
||||
*
|
||||
* @param string $format The format of the dumper
|
||||
*/
|
||||
public function addDumper($format, DumperInterface $dumper)
|
||||
public function addDumper(string $format, DumperInterface $dumper)
|
||||
{
|
||||
$this->dumpers[$format] = $dumper;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user