Closed spaze closed 2 years ago
If the call is in a trait, check if the call is allowed in the trait file, not in the calling class file.
Unfortunately, can't write a test for it as $scope->getTraitReflection() returns null in tests.
$scope->getTraitReflection()
Fix #99
If the call is in a trait, check if the call is allowed in the trait file, not in the calling class file.
Unfortunately, can't write a test for it as
$scope->getTraitReflection()
returns null in tests.Fix #99