Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
  [ci skip] NEWS
  [ci skip] NEWS
  Add tests
  Fix GH-8932: Provide a way to get the called-scope of closures (#9299)
This commit is contained in:
Arnaud Le Blanc 2022-09-02 13:55:57 +02:00
commit dcde9b85a6
4 changed files with 138 additions and 1 deletions

View file

@ -54,6 +54,9 @@ abstract class ReflectionFunctionAbstract implements Reflector
/** @tentative-return-type */
public function getClosureScopeClass(): ?ReflectionClass {}
/** @tentative-return-type */
public function getClosureCalledClass(): ?ReflectionClass {}
public function getClosureUsedVariables(): array {}
/** @tentative-return-type */