From 5d608b62069eaaa58b4a0d1a7a8f6fd6d0371b10 Mon Sep 17 00:00:00 2001 From: encoder64 Date: Sun, 27 Jul 2014 19:05:42 +0300 Subject: [PATCH] Private method EntityRepositoryGenerator::generateEntityRepositoryNamespace() changed to protected --- lib/Doctrine/ORM/Tools/EntityRepositoryGenerator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/Tools/EntityRepositoryGenerator.php b/lib/Doctrine/ORM/Tools/EntityRepositoryGenerator.php index e94749069..25ec5aee8 100644 --- a/lib/Doctrine/ORM/Tools/EntityRepositoryGenerator.php +++ b/lib/Doctrine/ORM/Tools/EntityRepositoryGenerator.php @@ -107,10 +107,10 @@ class extends * * @return string $namespace */ - private function generateEntityRepositoryNamespace($fullClassName) + protected function generateEntityRepositoryNamespace($fullClassName) { $namespace = $this->getClassNamespace($fullClassName); - + return $namespace ? 'namespace ' . $namespace . ';' : ''; }