From: Fabien Potencier Date: Sat, 19 May 2012 07:41:36 +0000 (+0200) Subject: fixed CS X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=e28663efd83d76ee36bf9e8a790f75bd880abbf2;p=web%2Fkonrad%2Ftwig.git fixed CS --- diff --git a/lib/Twig/Autoloader.php b/lib/Twig/Autoloader.php index a93b8ca..0f62884 100644 --- a/lib/Twig/Autoloader.php +++ b/lib/Twig/Autoloader.php @@ -29,7 +29,7 @@ class Twig_Autoloader /** * Handles autoloading of classes. * - * @param string $class A class name. + * @param string $class A class name. * * @return boolean Returns true if the class has been loaded */ diff --git a/lib/Twig/Compiler.php b/lib/Twig/Compiler.php index ae415a2..a942f8b 100644 --- a/lib/Twig/Compiler.php +++ b/lib/Twig/Compiler.php @@ -92,7 +92,7 @@ class Twig_Compiler implements Twig_CompilerInterface /** * Adds a raw string to the compiled code. * - * @param string $string The string + * @param string $string The string * * @return Twig_Compiler The current compiler instance */ @@ -129,7 +129,7 @@ class Twig_Compiler implements Twig_CompilerInterface /** * Adds a quoted string to the compiled code. * - * @param string $value The string + * @param string $value The string * * @return Twig_Compiler The current compiler instance */ @@ -143,7 +143,7 @@ class Twig_Compiler implements Twig_CompilerInterface /** * Returns a PHP representation of a given value. * - * @param mixed $value The value to convert + * @param mixed $value The value to convert * * @return Twig_Compiler The current compiler instance */ diff --git a/lib/Twig/CompilerInterface.php b/lib/Twig/CompilerInterface.php index 0a13edf..f861381 100644 --- a/lib/Twig/CompilerInterface.php +++ b/lib/Twig/CompilerInterface.php @@ -20,7 +20,7 @@ interface Twig_CompilerInterface /** * Compiles a node. * - * @param Twig_NodeInterface $node The node to compile + * @param Twig_NodeInterface $node The node to compile * * @return Twig_CompilerInterface The current compiler instance */ diff --git a/lib/Twig/Environment.php b/lib/Twig/Environment.php index c3aac13..60f0051 100644 --- a/lib/Twig/Environment.php +++ b/lib/Twig/Environment.php @@ -79,8 +79,8 @@ class Twig_Environment * (default to -1 which means that all optimizations are enabled; * set it to 0 to disable). * - * @param Twig_LoaderInterface $loader A Twig_LoaderInterface instance - * @param array $options An array of options + * @param Twig_LoaderInterface $loader A Twig_LoaderInterface instance + * @param array $options An array of options */ public function __construct(Twig_LoaderInterface $loader = null, $options = array()) { diff --git a/lib/Twig/Error.php b/lib/Twig/Error.php index 8ac2a2e..4b74e40 100644 --- a/lib/Twig/Error.php +++ b/lib/Twig/Error.php @@ -108,8 +108,8 @@ class Twig_Error extends Exception /** * For PHP < 5.3.0, provides access to the getPrevious() method. * - * @param string $method The method name - * @param array $arguments The parameters to be passed to the method + * @param string $method The method name + * @param array $arguments The parameters to be passed to the method * * @return Exception The previous exception or null */ diff --git a/lib/Twig/Extension/Core.php b/lib/Twig/Extension/Core.php index e9ce03f..e72dc5e 100644 --- a/lib/Twig/Extension/Core.php +++ b/lib/Twig/Extension/Core.php @@ -48,7 +48,7 @@ class Twig_Extension_Core extends Twig_Extension /** * Sets the default timezone to be used by the date filter. * - * @param DateTimeZone|string $timezone The default timezone string or a DateTimeZone object + * @param DateTimeZone|string $timezone The default timezone string or a DateTimeZone object */ public function setTimezone($timezone) { @@ -68,9 +68,9 @@ class Twig_Extension_Core extends Twig_Extension /** * Sets the default format to be used by the number_format filter. * - * @param integer $decimal The number of decimal places to use. - * @param string $decimalPoint The character(s) to use for the decimal point. - * @param string $thousandSep The character(s) to use for the thousands separator. + * @param integer $decimal The number of decimal places to use. + * @param string $decimalPoint The character(s) to use for the decimal point. + * @param string $thousandSep The character(s) to use for the thousands separator. */ public function setNumberFormat($decimal, $decimalPoint, $thousandSep) { diff --git a/lib/Twig/Lexer.php b/lib/Twig/Lexer.php index 269692d..d77071d 100644 --- a/lib/Twig/Lexer.php +++ b/lib/Twig/Lexer.php @@ -75,8 +75,8 @@ class Twig_Lexer implements Twig_LexerInterface /** * Tokenizes a source code. * - * @param string $code The source code - * @param string $filename A unique identifier for the source code + * @param string $code The source code + * @param string $filename A unique identifier for the source code * * @return Twig_TokenStream A token stream instance */ diff --git a/lib/Twig/LexerInterface.php b/lib/Twig/LexerInterface.php index 0223384..2bec235 100644 --- a/lib/Twig/LexerInterface.php +++ b/lib/Twig/LexerInterface.php @@ -20,8 +20,8 @@ interface Twig_LexerInterface /** * Tokenizes a source code. * - * @param string $code The source code - * @param string $filename A unique identifier for the source code + * @param string $code The source code + * @param string $filename A unique identifier for the source code * * @return Twig_TokenStream A token stream instance */ diff --git a/lib/Twig/Loader/Array.php b/lib/Twig/Loader/Array.php index 32bb7e4..8776264 100644 --- a/lib/Twig/Loader/Array.php +++ b/lib/Twig/Loader/Array.php @@ -53,7 +53,7 @@ class Twig_Loader_Array implements Twig_LoaderInterface /** * Gets the source code of a template, given its name. * - * @param string $name The name of the template to load + * @param string $name The name of the template to load * * @return string The template source code */ @@ -70,7 +70,7 @@ class Twig_Loader_Array implements Twig_LoaderInterface /** * Gets the cache key to use for the cache for a given template name. * - * @param string $name The name of the template to load + * @param string $name The name of the template to load * * @return string The cache key */ diff --git a/lib/Twig/Loader/Chain.php b/lib/Twig/Loader/Chain.php index 48dd8b8..a044905 100644 --- a/lib/Twig/Loader/Chain.php +++ b/lib/Twig/Loader/Chain.php @@ -45,7 +45,7 @@ class Twig_Loader_Chain implements Twig_LoaderInterface /** * Gets the source code of a template, given its name. * - * @param string $name The name of the template to load + * @param string $name The name of the template to load * * @return string The template source code */ @@ -64,7 +64,7 @@ class Twig_Loader_Chain implements Twig_LoaderInterface /** * Gets the cache key to use for the cache for a given template name. * - * @param string $name The name of the template to load + * @param string $name The name of the template to load * * @return string The cache key */ diff --git a/lib/Twig/Loader/Filesystem.php b/lib/Twig/Loader/Filesystem.php index 5cd40f9..fd93219 100644 --- a/lib/Twig/Loader/Filesystem.php +++ b/lib/Twig/Loader/Filesystem.php @@ -77,7 +77,7 @@ class Twig_Loader_Filesystem implements Twig_LoaderInterface /** * Gets the source code of a template, given its name. * - * @param string $name The name of the template to load + * @param string $name The name of the template to load * * @return string The template source code */ @@ -89,7 +89,7 @@ class Twig_Loader_Filesystem implements Twig_LoaderInterface /** * Gets the cache key to use for the cache for a given template name. * - * @param string $name The name of the template to load + * @param string $name The name of the template to load * * @return string The cache key */ diff --git a/lib/Twig/Loader/String.php b/lib/Twig/Loader/String.php index 26eb009..bc792b1 100644 --- a/lib/Twig/Loader/String.php +++ b/lib/Twig/Loader/String.php @@ -25,7 +25,7 @@ class Twig_Loader_String implements Twig_LoaderInterface /** * Gets the source code of a template, given its name. * - * @param string $name The name of the template to load + * @param string $name The name of the template to load * * @return string The template source code */ @@ -37,7 +37,7 @@ class Twig_Loader_String implements Twig_LoaderInterface /** * Gets the cache key to use for the cache for a given template name. * - * @param string $name The name of the template to load + * @param string $name The name of the template to load * * @return string The cache key */ diff --git a/lib/Twig/LoaderInterface.php b/lib/Twig/LoaderInterface.php index d8ae444..55e3ac6 100644 --- a/lib/Twig/LoaderInterface.php +++ b/lib/Twig/LoaderInterface.php @@ -20,7 +20,7 @@ interface Twig_LoaderInterface /** * Gets the source code of a template, given its name. * - * @param string $name The name of the template to load + * @param string $name The name of the template to load * * @return string The template source code * @@ -31,7 +31,7 @@ interface Twig_LoaderInterface /** * Gets the cache key to use for the cache for a given template name. * - * @param string $name The name of the template to load + * @param string $name The name of the template to load * * @return string The cache key * diff --git a/lib/Twig/Parser.php b/lib/Twig/Parser.php index 0bfcec7..8c578fd 100644 --- a/lib/Twig/Parser.php +++ b/lib/Twig/Parser.php @@ -57,7 +57,7 @@ class Twig_Parser implements Twig_ParserInterface /** * Converts a token stream to a node tree. * - * @param Twig_TokenStream $stream A token stream instance + * @param Twig_TokenStream $stream A token stream instance * * @return Twig_Node_Module A node tree */ diff --git a/lib/Twig/ParserInterface.php b/lib/Twig/ParserInterface.php index 4cb6d28..9659845 100644 --- a/lib/Twig/ParserInterface.php +++ b/lib/Twig/ParserInterface.php @@ -20,7 +20,7 @@ interface Twig_ParserInterface /** * Converts a token stream to a node tree. * - * @param Twig_TokenStream $stream A token stream instance + * @param Twig_TokenStream $stream A token stream instance * * @return Twig_Node_Module A node tree */ diff --git a/lib/Twig/TokenParserBrokerInterface.php b/lib/Twig/TokenParserBrokerInterface.php index 899356a..c2df729 100644 --- a/lib/Twig/TokenParserBrokerInterface.php +++ b/lib/Twig/TokenParserBrokerInterface.php @@ -23,7 +23,7 @@ interface Twig_TokenParserBrokerInterface /** * Gets a TokenParser suitable for a tag. * - * @param string $tag A tag name + * @param string $tag A tag name * * @return null|Twig_TokenParserInterface A Twig_TokenParserInterface or null if no suitable TokenParser was found */