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]); } } }