From c6a89c64f30527625097f5e440fa6a9c559d42a3 Mon Sep 17 00:00:00 2001 From: "Fabio B. Silva" Date: Wed, 7 Dec 2011 12:16:27 -0200 Subject: [PATCH] put return after comment --- lib/Doctrine/ORM/Query/ResultSetMapping.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/Query/ResultSetMapping.php b/lib/Doctrine/ORM/Query/ResultSetMapping.php index 68713a7cc..239f79c9e 100644 --- a/lib/Doctrine/ORM/Query/ResultSetMapping.php +++ b/lib/Doctrine/ORM/Query/ResultSetMapping.php @@ -176,8 +176,6 @@ class ResultSetMapping break; } - return $this; - /* TODO: check if this exception can be put back, for now it's gone because of assumptions made by some ORM internals if ( ! $found) { $message = sprintf( @@ -189,6 +187,8 @@ class ResultSetMapping throw new \LogicException($message); } */ + + return $this; } /**