From c2135b38216c6c8a410e764792aa368e946f2ae5 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Tue, 3 Jun 2014 21:53:45 +0200 Subject: [PATCH] Fix wrong version --- lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php index c9140ea7956..60009065a62 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php @@ -827,7 +827,7 @@ public function __sleep() public function newInstance() { if ($this->_prototype === null) { - if (PHP_VERSION_ID === 50428 || PHP_VERSION_ID === 50513) { + if (PHP_VERSION_ID === 50429 || PHP_VERSION_ID === 50513) { $this->_prototype = $this->reflClass->newInstanceWithoutConstructor(); } else { $this->_prototype = unserialize(sprintf('O:%d:"%s":0:{}', strlen($this->name), $this->name));