diff --git a/Tests/BackCompat/BCFile/IsReferenceTest.inc b/Tests/BackCompat/BCFile/IsReferenceTest.inc index 93c7acc6..d371d6ef 100644 --- a/Tests/BackCompat/BCFile/IsReferenceTest.inc +++ b/Tests/BackCompat/BCFile/IsReferenceTest.inc @@ -169,7 +169,7 @@ functionCall( $something , &new Foobar() ); $closure = function() use (&$var){}; /* testUseByReferenceWithCommentFirstParam */ -$closure = function() use /*comment*/ (&$this->value){}; +$closure = function() use /*comment*/ (&$value){}; /* testUseByReferenceWithCommentSecondParam */ $closure = function() use /*comment*/ ($varA, &$varB){};