Update ServiceDefinition/Loader/AnnotationClassLoader.php

Solving Symfony 2.1.* issue with the bundle.
This commit is contained in:
ldantunez 2012-09-18 17:33:29 -03:00 committed by Rekky
parent baa586e268
commit 1f41d88f8b
1 changed files with 7 additions and 7 deletions

View File

@ -16,7 +16,7 @@ use BeSimple\SoapBundle\ServiceDefinition\Annotation;
use Doctrine\Common\Annotations\Reader; use Doctrine\Common\Annotations\Reader;
use Symfony\Component\Config\Loader\LoaderInterface; 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. * AnnotationClassLoader loads ServiceDefinition from a PHP class and its methods.
@ -183,18 +183,18 @@ class AnnotationClassLoader implements LoaderInterface
/** /**
* Sets the loader resolver. * 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. * Gets the loader resolver.
* *
* @return LoaderResolver A LoaderResolver instance * @return LoaderResolverInterface A LoaderResolverInterface instance
*/ */
public function getResolver() public function getResolver(){
{
} }
} }