You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon trying to create a new plugin using the steps from here, I encounter the following error:
PHP Fatal error: Declaration of Symfony\Component\HttpKernel\Bundle\Bundle::boot() must be compatible with EightPoints\Bundle\GuzzleBundle\PluginInterface::boot(): void in /var/www/html/src/Service/Api/Plugin/AuthorizationPlugin.php on line 37
and
PHP Fatal error: Declaration of Symfony\Component\HttpKernel\Bundle\Bundle::build(Symfony\Component\DependencyInjection\ContainerBuilder $container) must be compatible with EightPoints\Bundle\GuzzleBundle\PluginInterface::build(Symfony\Component\DependencyInjection\ContainerBuilder $container): void in /var/www/html/src/Service/Api/Plugin/AuthorizationPlugin.php on line 54
This happens because the methods boot() and build() have return type set to void in EightPoints\Bundle\GuzzleBundle\PluginInterface but the Symfony\Component\HttpKernel\Bundle\Bundle class doesn't specify them.
Q
A
Symfony version
4.4
Bundle version
8.0
The text was updated successfully, but these errors were encountered:
Upon trying to create a new plugin using the steps from here, I encounter the following error:
and
This happens because the methods
boot()
andbuild()
have return type set tovoid
inEightPoints\Bundle\GuzzleBundle\PluginInterface
but theSymfony\Component\HttpKernel\Bundle\Bundle
class doesn't specify them.The text was updated successfully, but these errors were encountered: