mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 10:56:38 +00:00
TokenParserBroker.php - CS fix
This commit is contained in:
@@ -30,13 +30,13 @@ class Twig_TokenParserBroker implements Twig_TokenParserBrokerInterface
|
||||
*/
|
||||
public function __construct($parsers = array(), $brokers = array())
|
||||
{
|
||||
foreach($parsers as $parser) {
|
||||
foreach ($parsers as $parser) {
|
||||
if (!$parser instanceof Twig_TokenParserInterface) {
|
||||
throw new Twig_Error('$parsers must a an array of Twig_TokenParserInterface');
|
||||
}
|
||||
$this->parsers[$parser->getTag()] = $parser;
|
||||
}
|
||||
foreach($brokers as $broker) {
|
||||
foreach ($brokers as $broker) {
|
||||
if (!$broker instanceof Twig_TokenParserBrokerInterface) {
|
||||
throw new Twig_Error('$brokers must a an array of Twig_TokenParserBrokerInterface');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user