mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
PHP7 compatible function definitions.
This commit is contained in:
@@ -19,7 +19,7 @@ class Translation extends Twig_Extension
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getFilters()
|
||||
public function getFilters(): array
|
||||
{
|
||||
$filters = [];
|
||||
|
||||
@@ -37,7 +37,7 @@ class Translation extends Twig_Extension
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function getName()
|
||||
public function getName(): string
|
||||
{
|
||||
return 'FireflyIII\Support\Twig\Translation';
|
||||
}
|
||||
|
Reference in New Issue
Block a user