Augmentation vers version 3.3.0
This commit is contained in:
@@ -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 = [];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user