diff --git a/doc/installation.md b/doc/installation.md index 38b2d10..6e650a3 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -15,7 +15,6 @@ FRONTEND - [Templates](#templates) --- ADDITIONAL -- [Additional configuration](#additional-configuration) - [Known Issues](#known-issues) --- diff --git a/doc/installation/attribute-mapping.md b/doc/installation/attribute-mapping.md index 02ccf1f..8038869 100644 --- a/doc/installation/attribute-mapping.md +++ b/doc/installation/attribute-mapping.md @@ -37,6 +37,6 @@ use Sylius\Component\Core\Model\Order as BaseOrder; use BonusPointsAwareTrait; #[ORM\Column(type: 'integer', nullable: true)] - protected ?int $bonusPoints = null; + protected $bonusPoints = null; } ``` diff --git a/doc/installation/xml-mapping.md b/doc/installation/xml-mapping.md index d4ba81b..7d3d822 100644 --- a/doc/installation/xml-mapping.md +++ b/doc/installation/xml-mapping.md @@ -21,7 +21,7 @@ Extend entities with parameters and methods using attributes and traits: declare(strict_types=1); -namespace App\Entity\Order; +namespace App\Entity; use BitBag\SyliusBonusPointsPlugin\Entity\BonusPointsAwareInterface; use BitBag\SyliusBonusPointsPlugin\Entity\BonusPointsAwareTrait;