Various code cleanup.

This commit is contained in:
James Cole
2018-07-27 05:03:37 +02:00
parent 0312ba8ad7
commit e3e0e12fef
43 changed files with 167 additions and 145 deletions

View File

@@ -174,7 +174,7 @@ class General extends Twig_Extension
/**
* @return Twig_SimpleFunction
*/
protected function formatDate()
protected function formatDate(): Twig_SimpleFunction
{
return new Twig_SimpleFunction(
'formatDate',
@@ -330,7 +330,7 @@ class General extends Twig_Extension
/**
* @return Twig_SimpleFunction
*/
protected function phpdate()
protected function phpdate(): Twig_SimpleFunction
{
return new Twig_SimpleFunction(
'phpdate',