/* Decoded by unphp.net */ astResolver = $astResolver; } public function decorate(ClassMethod $classMethod) : void { // skip test run if (StaticPHPUnitEnvironment::isPHPUnitRun()) { return; } $setUpClassMethod = $this->astResolver->resolveClassMethod('PHPUnit\\Framework\\TestCase', MethodName::SET_UP); if (!$setUpClassMethod instanceof ClassMethod) { return; } if ($setUpClassMethod->returnType instanceof Identifier) { $classMethod->returnType = new Identifier($setUpClassMethod->returnType->toString()); return; } $classMethod->returnType = null; } } ?>