From 1f41d88f8beac82a0422565465140926198d134c Mon Sep 17 00:00:00 2001 From: ldantunez Date: Tue, 18 Sep 2012 17:33:29 -0300 Subject: [PATCH 1/2] Update ServiceDefinition/Loader/AnnotationClassLoader.php Solving Symfony 2.1.* issue with the bundle. --- ServiceDefinition/Loader/AnnotationClassLoader.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ServiceDefinition/Loader/AnnotationClassLoader.php b/ServiceDefinition/Loader/AnnotationClassLoader.php index f545786..99da112 100644 --- a/ServiceDefinition/Loader/AnnotationClassLoader.php +++ b/ServiceDefinition/Loader/AnnotationClassLoader.php @@ -16,7 +16,7 @@ use BeSimple\SoapBundle\ServiceDefinition\Annotation; use Doctrine\Common\Annotations\Reader; use Symfony\Component\Config\Loader\LoaderInterface; -use Symfony\Component\Config\Loader\LoaderResolver; +use Symfony\Component\Config\Loader\LoaderResolverInterface; /** * AnnotationClassLoader loads ServiceDefinition from a PHP class and its methods. @@ -183,18 +183,18 @@ class AnnotationClassLoader implements LoaderInterface /** * Sets the loader resolver. * - * @param LoaderResolver $resolver A LoaderResolver instance + * @param LoaderResolverInterface $resolver A LoaderResolverInterface instance */ - public function setResolver(LoaderResolver $resolver) - { + public function setResolver(LoaderResolverInterface $resolver){ + } /** * Gets the loader resolver. * - * @return LoaderResolver A LoaderResolver instance + * @return LoaderResolverInterface A LoaderResolverInterface instance */ - public function getResolver() - { + public function getResolver(){ + } } From 030561521ee9e9c4c798c85709b2518055c078c7 Mon Sep 17 00:00:00 2001 From: Rekky Date: Wed, 30 Jan 2013 22:16:55 +0400 Subject: [PATCH 2/2] Fix code styling --- ServiceDefinition/Loader/AnnotationClassLoader.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ServiceDefinition/Loader/AnnotationClassLoader.php b/ServiceDefinition/Loader/AnnotationClassLoader.php index 99da112..b4253e4 100644 --- a/ServiceDefinition/Loader/AnnotationClassLoader.php +++ b/ServiceDefinition/Loader/AnnotationClassLoader.php @@ -185,8 +185,8 @@ class AnnotationClassLoader implements LoaderInterface * * @param LoaderResolverInterface $resolver A LoaderResolverInterface instance */ - public function setResolver(LoaderResolverInterface $resolver){ - + public function setResolver(LoaderResolverInterface $resolver) + { } /** @@ -194,7 +194,7 @@ class AnnotationClassLoader implements LoaderInterface * * @return LoaderResolverInterface A LoaderResolverInterface instance */ - public function getResolver(){ - + public function getResolver() + { } }