From a6b6b2526783a791ffa35c6811c7e220a375c7df Mon Sep 17 00:00:00 2001 From: Josiah Truasheim Date: Fri, 31 Aug 2012 18:16:02 +0700 Subject: [PATCH] Removed the closure keyword as it isn't supported in PHP 5.3 --- lib/Doctrine/ORM/Persisters/SqlValueVisitor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Persisters/SqlValueVisitor.php b/lib/Doctrine/ORM/Persisters/SqlValueVisitor.php index beb41d9a6..ac07f827a 100644 --- a/lib/Doctrine/ORM/Persisters/SqlValueVisitor.php +++ b/lib/Doctrine/ORM/Persisters/SqlValueVisitor.php @@ -72,7 +72,7 @@ class SqlValueVisitor extends ExpressionVisitor * @param callable $typeCallback Type Resolution Callback * @param callable $valueCallback Value Resolution Callback */ - public function __construct(callable $typeCallback, callable $valueCallback) + public function __construct($typeCallback, $valueCallback) { $this->typeCallback = $typeCallback; $this->valueCallback = $valueCallback;