PluginProbe
Depicter — Popup & Slider Builder / 1.9.2
Depicter — Popup & Slider Builder v1.9.2
4.8.1 trunk 1.0.0 1.1.0 1.1.2 1.1.4 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.5 1.3.8 1.5.0 1.5.1 1.5.2 1.5.5 1.6.0 1.6.1 1.6.2 1.7.0 All 76 releases
← All changes | vendor/symfony/string/LazyString.php +1 -1 1.3.0 → 1.9.2 View file →
@@ -147,9 +147,9 @@
147 147 $method = $callback[1];
148 148 } elseif ($callback instanceof \Closure) {
149 149 $r = new \ReflectionFunction($callback);
150 150
151 - if (false !== strpos($r->name, '{closure}') || !$class = $r->getClosureScopeClass()) {
151 + if (false !== strpos($r->name, '{closure}') || !$class = \PHP_VERSION_ID >= 80111 ? $r->getClosureCalledClass() : $r->getClosureScopeClass()) {
152 152 return $r->name;
153 153 }
154 154
155 155 $class = $class->name;