Skip to content

Commit f59e628

Browse files
committed
Fixed static test failures
1 parent 732db2e commit f59e628

File tree

15 files changed

+4
-49
lines changed

15 files changed

+4
-49
lines changed

app/code/Magento/Sales/Block/Adminhtml/Order/Create/Data.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
class Data extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate
1717
{
1818
/**
19-
* Currency factory
20-
*
2119
* @var \Magento\Directory\Model\CurrencyFactory
2220
*/
2321
protected $_currencyFactory;

app/code/Magento/Sales/Block/Adminhtml/Order/Create/Form/Account.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,11 @@
3535
class Account extends AbstractForm
3636
{
3737
/**
38-
* Metadata form factory
39-
*
4038
* @var MetadataFormFactory
4139
*/
4240
protected $_metadataFormFactory;
4341

4442
/**
45-
* Customer repository
46-
*
4743
* @var CustomerRepositoryInterface
4844
*/
4945
protected $customerRepository;
@@ -98,8 +94,6 @@ public function __construct(
9894
}
9995

10096
/**
101-
* Group Management
102-
*
10397
* @var GroupManagementInterface
10498
*/
10599
private $groupManagement;

app/code/Magento/Sales/Block/Adminhtml/Order/Create/Giftmessage.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,11 @@
1616
class Giftmessage extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate
1717
{
1818
/**
19-
* Gift message save
20-
*
2119
* @var \Magento\GiftMessage\Model\Save
2220
*/
2321
protected $_giftMessageSave;
2422

2523
/**
26-
* Message helper
27-
*
2824
* @var \Magento\GiftMessage\Helper\Message
2925
*/
3026
protected $_messageHelper;

app/code/Magento/Sales/Block/Adminhtml/Order/Create/Load.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ class Load extends \Magento\Framework\View\Element\Template
1919
protected $_jsHelper = null;
2020

2121
/**
22-
* Json encoder
23-
*
2422
* @var \Magento\Framework\Json\EncoderInterface
2523
*/
2624
protected $_jsonEncoder;

app/code/Magento/Sales/Block/Adminhtml/Order/Create/Newsletter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ public function getHeaderCssClass()
4545
}
4646

4747
/**
48-
* {@inheritdoc}
48+
* @inheritdoc
49+
* phpcs:disable
4950
*/
5051
protected function _toHtml()
5152
{

app/code/Magento/Sales/Block/Adminhtml/Order/Create/Search/Grid.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,21 @@
1818
class Grid extends \Magento\Backend\Block\Widget\Grid\Extended
1919
{
2020
/**
21-
* Sales config
22-
*
2321
* @var \Magento\Sales\Model\Config
2422
*/
2523
protected $_salesConfig;
2624

2725
/**
28-
* Session quote
29-
*
3026
* @var \Magento\Backend\Model\Session\Quote
3127
*/
3228
protected $_sessionQuote;
3329

3430
/**
35-
* Catalog config
36-
*
3731
* @var \Magento\Catalog\Model\Config
3832
*/
3933
protected $_catalogConfig;
4034

4135
/**
42-
* Product factory
43-
*
4436
* @var \Magento\Catalog\Model\ProductFactory
4537
*/
4638
protected $_productFactory;

app/code/Magento/Sales/Block/Adminhtml/Order/Create/Search/Grid/Renderer/Qty.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
class Qty extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Input
1212
{
1313
/**
14-
* Type config
15-
*
1614
* @var \Magento\Catalog\Model\ProductTypes\ConfigInterface
1715
*/
1816
protected $typeConfig;

app/code/Magento/Sales/Block/Adminhtml/Order/Create/Shipping/Method/Form.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ class Form extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate
2323
protected $_rates;
2424

2525
/**
26-
* Tax data
27-
*
2826
* @var \Magento\Tax\Helper\Data
2927
*/
3028
protected $_taxData = null;

app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ class Sidebar extends \Magento\Sales\Block\Adminhtml\Order\Create\AbstractCreate
2121
protected function _prepareLayout()
2222
{
2323
if ($this->getCustomerId()) {
24+
// phpstan:ignore "Undefined variable"
2425
$button = $this->getLayout()->createBlock(
2526
\Magento\Backend\Block\Widget\Button::class
2627
)->setData(

app/code/Magento/Sales/Block/Adminhtml/Order/Create/Sidebar/AbstractSidebar.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ class AbstractSidebar extends \Magento\Sales\Block\Adminhtml\Order\Create\Abstra
2626
protected $_sidebarStorageAction = 'add';
2727

2828
/**
29-
* Sales config
30-
*
3129
* @var \Magento\Sales\Model\Config
3230
*/
3331
protected $_salesConfig;

0 commit comments

Comments
 (0)