Augmentation vers version 3.3.0

This commit is contained in:
Gauvain Boiché
2020-03-31 15:31:03 +02:00
parent d926806907
commit a1864c0414
2618 changed files with 406015 additions and 31377 deletions

View File

@@ -24,8 +24,8 @@ use Symfony\Component\DependencyInjection\Definition;
class ServiceReferenceGraphNode
{
private $id;
private $inEdges = array();
private $outEdges = array();
private $inEdges = [];
private $outEdges = [];
private $value;
/**
@@ -81,7 +81,7 @@ class ServiceReferenceGraphNode
/**
* Returns the in edges.
*
* @return array The in ServiceReferenceGraphEdge array
* @return ServiceReferenceGraphEdge[]
*/
public function getInEdges()
{
@@ -91,7 +91,7 @@ class ServiceReferenceGraphNode
/**
* Returns the out edges.
*
* @return array The out ServiceReferenceGraphEdge array
* @return ServiceReferenceGraphEdge[]
*/
public function getOutEdges()
{
@@ -107,4 +107,12 @@ class ServiceReferenceGraphNode
{
return $this->value;
}
/**
* Clears all edges.
*/
public function clear()
{
$this->inEdges = $this->outEdges = [];
}
}