Skip to content

Commit 0b0aaa6

Browse files
committed
Add generic types to traversable implementations
1 parent 9b54d75 commit 0b0aaa6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Definition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ public function setAutowired(bool $autowired)
846846
/**
847847
* Gets bindings.
848848
*
849-
* @return array|BoundArgument[]
849+
* @return BoundArgument[]
850850
*/
851851
public function getBindings()
852852
{

Dumper/PhpDumper.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ class PhpDumper extends Dumper
6262
*/
6363
public const NON_FIRST_CHARS = 'abcdefghijklmnopqrstuvwxyz0123456789_';
6464

65+
/**
66+
* @var \SplObjectStorage<Definition, Variable>|null
67+
*/
6568
private $definitionVariables;
6669
private $referenceVariables;
6770
private $variableCount;

0 commit comments

Comments
 (0)