Commit 860eefb9 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Correction du NullDecorator

parent cf570b1b
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
namespace Irstea\PlantUmlBundle\Model; namespace Irstea\PlantUmlBundle\Model;
use Irstea\PlantUmlBundle\Model\Decorator\NullDecorator;
use Irstea\PlantUmlBundle\Model\Filter\AcceptAllFilter; use Irstea\PlantUmlBundle\Model\Filter\AcceptAllFilter;
use Irstea\PlantUmlBundle\Model\Namespace_\RootNamespace; use Irstea\PlantUmlBundle\Model\Namespace_\RootNamespace;
use Irstea\PlantUmlBundle\Model\Node\Class_; use Irstea\PlantUmlBundle\Model\Node\Class_;
...@@ -91,7 +92,7 @@ class ClassVisitor implements ClassVisitorInterface, WritableInterface ...@@ -91,7 +92,7 @@ class ClassVisitor implements ClassVisitorInterface, WritableInterface
/** /**
* *
* @param \Irstea\PlantUmlBundle\Model\NamespaceInterface $namespace * @param NamespaceInterface $namespace
* @param ReflectionClass $class * @param ReflectionClass $class
* @return NodeInterface * @return NodeInterface
*/ */
......
...@@ -11,6 +11,7 @@ namespace Irstea\PlantUmlBundle\Model\Decorator; ...@@ -11,6 +11,7 @@ namespace Irstea\PlantUmlBundle\Model\Decorator;
use Irstea\PlantUmlBundle\Model\ClassVisitorInterface; use Irstea\PlantUmlBundle\Model\ClassVisitorInterface;
use Irstea\PlantUmlBundle\Model\DecoratorInterface; use Irstea\PlantUmlBundle\Model\DecoratorInterface;
use Irstea\PlantUmlBundle\Model\NodeInterface; use Irstea\PlantUmlBundle\Model\NodeInterface;
use ReflectionClass;
/** /**
* Description of NullDecorator * Description of NullDecorator
...@@ -21,7 +22,7 @@ class NullDecorator implements DecoratorInterface ...@@ -21,7 +22,7 @@ class NullDecorator implements DecoratorInterface
{ {
use \Irstea\PlantUmlBundle\Utils\Singleton; use \Irstea\PlantUmlBundle\Utils\Singleton;
public function decorate($className, NodeInterface $node, ClassVisitorInterface $visitor) public function decorate(ReflectionClass $class, NodeInterface $node, ClassVisitorInterface $visitor)
{ {
return $this; return $this;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment