| @@ -7,9 +7,9 @@ | ||
| 7 | 7 | * |
| 8 | 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | -namespace WindPressPackages\Symfony\Component\String; | |
| 11 | +namespace WindPressDeps\Symfony\Component\String; | |
| 12 | 12 | |
| 13 | 13 | /** |
| 14 | 14 | * A string whose value is computed lazily by a callback. |
| 15 | 15 | * |
| @@ -124,9 +124,9 @@ | ||
| 124 | 124 | $class = \is_object($callback[0]) ? get_debug_type($callback[0]) : $callback[0]; |
| 125 | 125 | $method = $callback[1]; |
| 126 | 126 | } elseif ($callback instanceof \Closure) { |
| 127 | 127 | $r = new \ReflectionFunction($callback); |
| 128 | - if (str_contains($r->name, '{closure') || !$class = (\PHP_VERSION_ID >= 80111) ? $r->getClosureCalledClass() : $r->getClosureScopeClass()) { | |
| 128 | + if (str_contains($r->name, '{closure') || !$class = \PHP_VERSION_ID >= 80111 ? $r->getClosureCalledClass() : $r->getClosureScopeClass()) { | |
| 129 | 129 | return $r->name; |
| 130 | 130 | } |
| 131 | 131 | $class = $class->name; |
| 132 | 132 | $method = $r->name; |