Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pôle IS
Bundles Symfony 2
plantuml-bundle
Commits
860eefb9
Commit
860eefb9
authored
Mar 09, 2016
by
Guillaume Perréal
Browse files
Correction du NullDecorator
parent
cf570b1b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Model/ClassVisitor.php
View file @
860eefb9
...
...
@@ -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
*/
...
...
Model/Decorator/NullDecorator.php
View file @
860eefb9
...
...
@@ -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
(
$class
Name
,
NodeInterface
$node
,
ClassVisitorInterface
$visitor
)
public
function
decorate
(
ReflectionClass
$class
,
NodeInterface
$node
,
ClassVisitorInterface
$visitor
)
{
return
$this
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment