mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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:
commit
dcde9b85a6
4 changed files with 138 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue