We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a264dd commit 32bd33dCopy full SHA for 32bd33d
app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar.php
@@ -21,7 +21,6 @@ class Sidebar extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate
21
protected function _prepareLayout()
22
{
23
if ($this->getCustomerId()) {
24
- // phpstan:ignore "Undefined variable"
25
$button = $this->getLayout()->createBlock(
26
\Magento\Backend\Block\Widget\Button::class
27
)->setData(
@@ -37,7 +36,7 @@ protected function _prepareLayout()
37
36
}
38
39
40
+ // phpstan:ignore
41
$button = clone $button;
42
$button->unsId();
43
$this->setChild('bottom_button', $button);
0 commit comments