Skip to content

Commit 8901baa

Browse files
authored
Changed array creation
Make the array creation consistent throughout the class
1 parent dc6d0b0 commit 8901baa

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)