From 471e3f8f0c24a6207604484f5ee9ca8be0c747c8 Mon Sep 17 00:00:00 2001
From: jwage <jwage@625475ce-881a-0410-a577-b389adb331d8>
Date: Thu, 8 Oct 2009 18:54:39 +0000
Subject: [PATCH] [2.0] Fixed strict standards notice

---
 lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php b/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php
index df60c1beb..bd1b484cf 100644
--- a/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php
+++ b/lib/Doctrine/ORM/Mapping/Driver/AnnotationDriver.php
@@ -345,7 +345,8 @@ class AnnotationDriver implements Driver
                 require_once $item->getPathName();
             }
             $declared = array_diff(get_declared_classes(), $declared);
-        
+
+            $classes = array();
             foreach ($declared as $className) {                 
                 if ( ! $this->isTransient($className)) {
                     $classes[] = $className;