From 97e82445d729c228a06c9b099f8072309272ea5a Mon Sep 17 00:00:00 2001 From: zYne Date: Fri, 27 Jul 2007 15:35:37 +0000 Subject: [PATCH] --- lib/Doctrine/Tokenizer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Doctrine/Tokenizer.php b/lib/Doctrine/Tokenizer.php index 1faf4cf5d..f32b2f439 100644 --- a/lib/Doctrine/Tokenizer.php +++ b/lib/Doctrine/Tokenizer.php @@ -47,10 +47,10 @@ class Doctrine_Tokenizer * @param string $e1 the first bracket, usually '(' * @param string $e2 the second bracket, usually ')' */ - public static function bracketTrim($str,$e1 = '(',$e2 = ')') + public static function bracketTrim($str, $e1 = '(', $e2 = ')') { - if(substr($str,0,1) == $e1 && substr($str,-1) == $e2) { - return substr($str,1,-1); + if (substr($str,0,1) == $e1 && substr($str,-1) == $e2) { + return substr($str, 1, -1); } else { return $str; }