Skip to content

Instantly share code, notes, and snippets.

@shopwareBot
Created September 19, 2022 14:03
Show Gist options
  • Save shopwareBot/0356241346bfff748001a754ac13bf85 to your computer and use it in GitHub Desktop.
Save shopwareBot/0356241346bfff748001a754ac13bf85 to your computer and use it in GitHub Desktop.
Fix type annotation for shopware/platform:v6.4.15.0
diff --git a/src/HttpKernel.php b/src/HttpKernel.php
index bafa884..db29ad0 100644
--- a/src/HttpKernel.php
+++ b/src/HttpKernel.php
@@ -4,5 +4,5 @@ namespace Shopware\Production;
class HttpKernel extends \Shopware\Core\HttpKernel
{
- protected static $kernelClass = Kernel::class;
+ protected static string $kernelClass = Kernel::class;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment