Skip to content

Commit 6b838cc

Browse files
authored
ENGCOM-7651: Changed array creation to be in line with the class #28515
2 parents 139ddea + f2b905c commit 6b838cc

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)