mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-81671 libraries: upgrade to version 1.3.3 of Serializable Closure.
This commit is contained in:
parent
2bf886f9dd
commit
53b69add3a
@ -508,8 +508,7 @@ class ReflectionClosure extends ReflectionFunction
|
||||
break;
|
||||
case 'id_name':
|
||||
switch ($token[0]) {
|
||||
// named arguments...
|
||||
case ':':
|
||||
case $token[0] === ':' && $context !== 'instanceof':
|
||||
if ($lastState === 'closure' && $context === 'root') {
|
||||
$state = 'closure';
|
||||
$code .= $id_start.$token;
|
||||
|
@ -743,7 +743,7 @@ All rights reserved.</copyright>
|
||||
<library>
|
||||
<location>laravel/serializable-closure</location>
|
||||
<name>Serializable Closure</name>
|
||||
<version>1.3.2</version>
|
||||
<version>1.3.3</version>
|
||||
<license>MIT</license>
|
||||
<repository>https://github.com/laravel/serializable-closure</repository>
|
||||
</library>
|
||||
|
Loading…
x
Reference in New Issue
Block a user