,error_levels?:string[]}> */ public function providerValidCodeParse() { return [ 'validSimpleAnnotations' => [ 'getString(); $child->setInteger(4);', 'assertions' => [ '$a' => 'string', ], ], 'anotherSimpleExample' => [ 'b = new B(); } /** * @param array $arguments * @return mixed */ public function __call(string $method, array $arguments) { return $this->b->$method(...$arguments); } } class B { public function b(): void { echo "b"; } } $a = new A(); $a->b();' ], ]; } }