diff --git a/doc/advanced.rst b/doc/advanced.rst index e4085925f..af60d733c 100644 --- a/doc/advanced.rst +++ b/doc/advanced.rst @@ -605,7 +605,7 @@ An extension is a class that implements the following interface:: * * @return array An array of global variables * - * @deprecated since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsProviderInterace instead + * @deprecated since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsInterface instead */ function getGlobals(); diff --git a/lib/Twig/Extension.php b/lib/Twig/Extension.php index fb09be76b..9bdda7128 100644 --- a/lib/Twig/Extension.php +++ b/lib/Twig/Extension.php @@ -70,7 +70,7 @@ abstract class Twig_Extension implements Twig_ExtensionInterface /** * {@inheritdoc} * - * @deprecated since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsProviderInterace instead + * @deprecated since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsInterface instead */ public function getGlobals() { diff --git a/lib/Twig/ExtensionInterface.php b/lib/Twig/ExtensionInterface.php index af4d081f3..5cf3f46a6 100644 --- a/lib/Twig/ExtensionInterface.php +++ b/lib/Twig/ExtensionInterface.php @@ -74,7 +74,7 @@ interface Twig_ExtensionInterface * * @return array An array of global variables * - * @deprecated since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsProviderInterace instead + * @deprecated since 1.23 (to be removed in 2.0), implement Twig_Extension_GlobalsInterface instead */ public function getGlobals();