diff --git a/packages/realtime-compiler/src/Http/DashboardController.php b/packages/realtime-compiler/src/Http/DashboardController.php index 2053e4d3ca3..95d3d90bc00 100644 --- a/packages/realtime-compiler/src/Http/DashboardController.php +++ b/packages/realtime-compiler/src/Http/DashboardController.php @@ -171,7 +171,7 @@ protected static function welcomeFrame(): string HTML; } - protected function getPackageVersion(string $packageName): string + protected static function getPackageVersion(string $packageName): string { try { $prettyVersion = InstalledVersions::getPrettyVersion($packageName);