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
cd289c4f
Commit
cd289c4f
authored
Sep 23, 2020
by
Guillaume Perréal
Browse files
Corrige les alerts PHPStan.
parent
43262d9d
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/Model/Arrow/BaseArrow.php
View file @
cd289c4f
...
...
@@ -64,6 +64,11 @@ class BaseArrow implements ArrowInterface
*/
private
$targetCardinality
;
/**
* @var mixed|null
*/
private
$label
;
public
function
__construct
(
NodeInterface
$source
,
NodeInterface
$target
,
...
...
src/Model/ClassVisitor.php
View file @
cd289c4f
...
...
@@ -49,6 +49,11 @@ class ClassVisitor implements ClassVisitorInterface
*/
protected
$decorator
;
/**
* @var array<string, NodeInterface>
*/
private
$nodes
;
public
function
__construct
(
DecoratorInterface
$decorator
=
null
,
ClassFilterInterface
$filter
=
null
,
...
...
src/Model/Decorator/NullDecorator.php
View file @
cd289c4f
...
...
@@ -23,6 +23,7 @@ namespace Irstea\PlantUmlBundle\Model\Decorator;
use
Irstea\PlantUmlBundle\Model\ClassVisitorInterface
;
use
Irstea\PlantUmlBundle\Model\DecoratorInterface
;
use
Irstea\PlantUmlBundle\Model\NodeInterface
;
use
Irstea\PlantUmlBundle\Utils\Singleton
;
use
ReflectionClass
;
/**
...
...
@@ -30,7 +31,7 @@ use ReflectionClass;
*/
class
NullDecorator
implements
DecoratorInterface
{
use
\
Irstea\PlantUmlBundle\Utils\
Singleton
;
use
Singleton
;
public
function
decorate
(
ReflectionClass
$class
,
NodeInterface
$node
,
ClassVisitorInterface
$visitor
)
{
...
...
src/Model/Filter/AbstractListFilter.php
View file @
cd289c4f
...
...
@@ -28,6 +28,11 @@ use ReflectionClass;
*/
abstract
class
AbstractListFilter
implements
ClassFilterInterface
{
/**
* string.
*/
protected
const
CONF_TYPE
=
'UNDEFINED'
;
/**
* @var string[]
*/
...
...
src/Model/Namespace_/AbstractNamespace.php
View file @
cd289c4f
...
...
@@ -30,6 +30,11 @@ use Irstea\PlantUmlBundle\Writer\WriterInterface;
*/
abstract
class
AbstractNamespace
implements
WritableInterface
,
NamespaceInterface
{
/**
* string.
*/
protected
const
CONF_TYPE
=
'UNDEFINED'
;
/**
* @var NodeInterface[]
*/
...
...
src/Utils/Singleton.php
View file @
cd289c4f
...
...
@@ -30,8 +30,12 @@ trait Singleton
*/
private
static
$instance
;
final
protected
function
__construct
()
{
}
/**
* @return s
elf
* @return s
tatic
*/
public
static
function
instance
()
{
...
...
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