[Web] Some minor fixes and improvements for PHP 8
This commit is contained in:
@@ -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