From 85ac8d8259f99d9a9ce0fa21ea9fa1136a40ef51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Kali=C5=84ski?= Date: Mon, 2 Sep 2024 16:44:52 +0200 Subject: [PATCH] OP-513 - installation.md has been updated --- doc/installation.md | 1 - doc/installation/attribute-mapping.md | 2 +- doc/installation/xml-mapping.md | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) 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;