From 587822b55897502628158bb58acf711ad28ee987 Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Mon, 1 May 2017 21:14:04 -0700 Subject: [PATCH] $references are now an array, not an object - fix removing skipped refs --- tests/Validation/ValidationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Validation/ValidationTest.php b/tests/Validation/ValidationTest.php index 85cf54b..a7d98b8 100644 --- a/tests/Validation/ValidationTest.php +++ b/tests/Validation/ValidationTest.php @@ -185,7 +185,7 @@ class ValidationTest extends TestCase foreach ($references as $key=>$value) { foreach ($skipped as $s) { if (strpos($key, $s) !== false) { - unset($references->$key); + unset($references[$key]); } } }