Remove deprecated return types from the PHPDocs.

This commit is contained in:
Possum
2015-09-29 17:58:36 +02:00
parent 604e94883b
commit 831fd601cd
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -24,7 +24,7 @@ abstract class Twig_Extension implements Twig_ExtensionInterface
/**
* Returns the token parser instances to add to the existing list.
*
* @return array An array of Twig_TokenParserInterface or Twig_TokenParserBrokerInterface instances
* @return Twig_TokenParserInterface[]
*/
public function getTokenParsers()
{
@@ -44,7 +44,7 @@ abstract class Twig_Extension implements Twig_ExtensionInterface
/**
* Returns a list of filters to add to the existing list.
*
* @return array An array of filters
* @return Twig_SimpleFilter[]
*/
public function getFilters()
{
@@ -54,7 +54,7 @@ abstract class Twig_Extension implements Twig_ExtensionInterface
/**
* Returns a list of tests to add to the existing list.
*
* @return array An array of tests
* @return Twig_SimpleTest[]
*/
public function getTests()
{
@@ -64,7 +64,7 @@ abstract class Twig_Extension implements Twig_ExtensionInterface
/**
* Returns a list of functions to add to the existing list.
*
* @return array An array of functions
* @return Twig_SimpleFunction[]
*/
public function getFunctions()
{
+4 -4
View File
@@ -28,7 +28,7 @@ interface Twig_ExtensionInterface
/**
* Returns the token parser instances to add to the existing list.
*
* @return array An array of Twig_TokenParserInterface or Twig_TokenParserBrokerInterface instances
* @return Twig_TokenParserInterface[]
*/
public function getTokenParsers();
@@ -42,21 +42,21 @@ interface Twig_ExtensionInterface
/**
* Returns a list of filters to add to the existing list.
*
* @return array An array of filters
* @return Twig_SimpleFilter[]
*/
public function getFilters();
/**
* Returns a list of tests to add to the existing list.
*
* @return array An array of tests
* @return Twig_SimpleTest[]
*/
public function getTests();
/**
* Returns a list of functions to add to the existing list.
*
* @return array An array of functions
* @return Twig_SimpleFunction[]
*/
public function getFunctions();