Skip to content

Commit de3371f

Browse files
committed
Removed not needed output
1 parent af8805a commit de3371f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

code_samples/discounts/src/Command/OrderPriceCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ public function execute(InputInterface $input, OutputInterface $output): int
6666
{
6767
$this->permissionResolver->setCurrentUserReference($this->userService->loadUserByLogin('admin'));
6868

69-
$output->writeln('Product data:');
7069
$productCode = 'product_code_control_unit_0';
7170
$orderIdentifier = '4315bc58-1e96-4f21-82a0-15f736cbc4bc';
7271
$currencyCode = 'EUR';

docs/discounts/discounts_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,6 @@ The example below shows how you can use:
181181
- [`PriceEnvelopeInterface`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-ProductCatalog-Values-Price-PriceEnvelopeInterface.html) to retrieve applied discounts
182182
- [`OrderServiceInterface`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-OrderManagement-OrderServiceInterface.html) to display discount details for [orders](order_management.md)
183183

184-
``` php hl_lines="78-79 85-86 88-101 105-131"
184+
``` php hl_lines="77-78 84-85 87-100 104-130"
185185
[[= include_file('code_samples/discounts/src/Command/OrderPriceCommand.php') =]]
186186
```

0 commit comments

Comments
 (0)