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

Correction du NullDecorator

No related merge requests found
Showing with 4 additions and 2 deletions
+4 -2
......@@ -8,6 +8,7 @@
namespace Irstea\PlantUmlBundle\Model;
use Irstea\PlantUmlBundle\Model\Decorator\NullDecorator;
use Irstea\PlantUmlBundle\Model\Filter\AcceptAllFilter;
use Irstea\PlantUmlBundle\Model\Namespace_\RootNamespace;
use Irstea\PlantUmlBundle\Model\Node\Class_;
......@@ -91,7 +92,7 @@ class ClassVisitor implements ClassVisitorInterface, WritableInterface
/**
*
* @param \Irstea\PlantUmlBundle\Model\NamespaceInterface $namespace
* @param NamespaceInterface $namespace
* @param ReflectionClass $class
* @return NodeInterface
*/
......
......@@ -11,6 +11,7 @@ namespace Irstea\PlantUmlBundle\Model\Decorator;
use Irstea\PlantUmlBundle\Model\ClassVisitorInterface;
use Irstea\PlantUmlBundle\Model\DecoratorInterface;
use Irstea\PlantUmlBundle\Model\NodeInterface;
use ReflectionClass;
/**
* Description of NullDecorator
......@@ -21,7 +22,7 @@ class NullDecorator implements DecoratorInterface
{
use \Irstea\PlantUmlBundle\Utils\Singleton;
public function decorate($className, NodeInterface $node, ClassVisitorInterface $visitor)
public function decorate(ReflectionClass $class, NodeInterface $node, ClassVisitorInterface $visitor)
{
return $this;
}
......
Supports Markdown
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