odiseoteam / SyliusBlogPlugin

This plugin add blog capabilities to your Sylius project.
MIT License
34 stars 18 forks source link

Can you fix Fatal error: Type of $mappingFormat must be string? #22

Closed amanis513 closed 1 year ago

amanis513 commented 1 year ago

Hello,

can you fix Fatal error: Type of Odiseo\BlogBundle\OdiseoBlogBundle::$mappingFormat must be string (as in class Sylius\Bundle\ResourceBundle\AbstractResourceBundle) in C:\xampp\htdocs\sudekusa-shop\vendor\odiseoteam\blog-bundle\src\OdiseoBlog Bundle.php on line 35

Problem is on php 8.0.19 sylius\sylius: 1.11.13

... final class OdiseoBlogBundle extends AbstractResourceBundle { protected $mappingFormat = ResourceBundleInterface::MAPPING_YAML; to protected string $mappingFormat = ResourceBundleInterface::MAPPING_YAML; ...

Thank you

bigboss86 commented 1 year ago

Hello, Feel free to contribute if you have time. This plugin will be free forever. Thanks!

amanis513 commented 1 year ago

closed

roromix commented 1 year ago

I have send a PR here: https://github.com/odiseoteam/OdiseoBlogBundle/pull/14

bigboss86 commented 1 year ago

Merged! Thank you @roromix