diff --git a/tests/Argument/Token/ExactValueTokenTest.php b/tests/Argument/Token/ExactValueTokenTest.php index 12be30f30..eccda89cc 100644 --- a/tests/Argument/Token/ExactValueTokenTest.php +++ b/tests/Argument/Token/ExactValueTokenTest.php @@ -75,9 +75,9 @@ public function scores_false_for_object_and_null() { class ParentClass { - public $children = []; + public $children = array(); - public function addChild(ChildClass $child) { + public function addChild($child) { $this->children[] = $child; } } @@ -87,7 +87,7 @@ class ChildClass { public $parent = null; public $name = null; - public function __construct(string $name, ParentClass $parent) { + public function __construct($name, $parent) { $this->name = $name; $this->parent = $parent; $this->parent->addChild($this);