Skip to content

Commit f2b905c

Browse files
ENGCOM-7651: Changed array creation to be in line with the class #28515
- Merge Pull Request #28515 from litsher/magento2:patch-1 - Merged commits: 1. 8901baa 2. 4418a95 3. f44321f 4. ba12f12
2 parents a94aa00 + ba12f12 commit f2b905c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/code/Magento/Sales/Model/Order/Pdf/Items/Invoice/DefaultInvoice.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,9 @@ public function draw()
8080
$lines = [];
8181

8282
// draw Product name
83-
$lines[0] = [
84-
[
83+
$lines[0][] = [
8584
'text' => $this->string->split($this->prepareText((string)$item->getName()), 35, true, true),
8685
'feed' => 35
87-
]
8886
];
8987

9088
// draw SKU

0 commit comments

Comments
 (0)