From fe10a65e62128bc836e66a43ab975b669b7d9d9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Kali=C5=84ski?= Date: Tue, 27 Aug 2024 10:15:21 +0200 Subject: [PATCH] OP-319 - installation.md and code review fixes --- doc/installation.md | 22 +++------------------- spec/Api/WebClientSpec.php | 1 - 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/doc/installation.md b/doc/installation.md index 0dda2bc..b250deb 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -122,7 +122,6 @@ final class ShippingExportController extends ResourceController return $this->redirectToRoute($request->attributes->get('_route')); } } - ``` Complete the **config/packages/bitbag_shipping_export_plugin.yaml** file with the following data: @@ -139,7 +138,6 @@ sylius_resource: classes: model: App\Entity\Shipping\ShippingExport controller: App\Controller\ShippingExportController - ``` Remember that in case of different mapping, the model path may be different. Default: @@ -167,7 +165,6 @@ sylius_shipping: shipping_method: classes: model: App\Entity\ShippingMethod - ``` Add trait and interface to your Order and ShippingMethod entity classes: @@ -298,7 +295,6 @@ doctrine: App: ... type: attribute - ``` ```php point = $point; } } - ``` ```php @@ -371,10 +366,9 @@ class ShippingMethod extends BaseShippingMethod implements ImageAwareInterface { $this->image = $image; } - + // other methods } - ``` ```php