From 9f35d3f50ff0798164645a8c423a2bc3128ea379 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Fri, 2 Sep 2022 16:55:07 +0200 Subject: [PATCH] CS fixes --- GenericRuntime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GenericRuntime.php b/GenericRuntime.php index f3326a5..8221976 100644 --- a/GenericRuntime.php +++ b/GenericRuntime.php @@ -122,7 +122,7 @@ public function getRunner(?object $application): RunnerInterface } if (!$application instanceof \Closure) { - if ($runtime = $this->resolveRuntime(\get_class($application))) { + if ($runtime = $this->resolveRuntime($application::class)) { return $runtime->getRunner($application); }