File tree Expand file tree Collapse file tree 3 files changed +8
-15
lines changed
Backend/Block/Widget/Grid
Reports/Model/ResourceModel/Order Expand file tree Collapse file tree 3 files changed +8
-15
lines changed Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+
6
7
namespace Magento \Backend \Block \Widget \Grid ;
7
8
8
9
use Magento \Backend \Block \Widget ;
@@ -46,7 +47,7 @@ class Column extends Widget
46
47
protected $ _cssClass = null ;
47
48
48
49
/**
49
- * Renderer types
50
+ * The renderer types
50
51
*
51
52
* @var array
52
53
*/
@@ -74,7 +75,7 @@ class Column extends Widget
74
75
];
75
76
76
77
/**
77
- * Filter types
78
+ * The filter types
78
79
*
79
80
* @var array
80
81
*/
@@ -422,11 +423,7 @@ public function setRendererType($type, $className)
422
423
protected function _getRendererByType ()
423
424
{
424
425
$ type = strtolower ((string ) $ this ->getType ());
425
- $ rendererClass = isset (
426
- $ this ->_rendererTypes [$ type ]
427
- ) ? $ this ->_rendererTypes [$ type ] : $ this ->_rendererTypes ['default ' ];
428
-
429
- return $ rendererClass ;
426
+ return $ this ->_rendererTypes [$ type ] ?? $ this ->_rendererTypes ['default ' ];
430
427
}
431
428
432
429
/**
@@ -479,9 +476,7 @@ public function setFilterType($type, $className)
479
476
protected function _getFilterByType ()
480
477
{
481
478
$ type = $ this ->getFilterType () ? strtolower ($ this ->getFilterType ()) : strtolower ((string ) $ this ->getType ());
482
- $ filterClass = isset ($ this ->_filterTypes [$ type ]) ? $ this ->_filterTypes [$ type ] : $ this ->_filterTypes ['default ' ];
483
-
484
- return $ filterClass ;
479
+ return $ this ->_filterTypes [$ type ] ?? $ this ->_filterTypes ['default ' ];
485
480
}
486
481
487
482
/**
Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+
6
7
namespace Magento \Reports \Model \ResourceModel \Order ;
7
8
8
9
use Magento \Framework \DB \Select ;
9
10
10
11
/**
11
12
* Reports orders collection
12
13
*
13
- * @author Magento Core Team <core@magentocommerce.com>
14
14
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
15
15
* @api
16
16
* @since 100.0.2
17
17
*/
18
18
class Collection extends \Magento \Sales \Model \ResourceModel \Order \Collection
19
19
{
20
20
/**
21
- * Is live
22
- *
23
21
* @var bool
24
22
*/
25
23
protected $ _isLive = false ;
26
24
27
25
/**
28
- * Sales amount expression
26
+ * The sales amount expression
29
27
*
30
28
* @var string
31
29
*/
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ class Carrier extends AbstractCarrierOnline implements \Magento\Shipping\Model\C
109
109
protected $ _customizableContainerTypes = ['VARIABLE ' , 'RECTANGULAR ' , 'NONRECTANGULAR ' ];
110
110
111
111
/**
112
- * Carrier helper
112
+ * The carrier helper
113
113
*
114
114
* @var \Magento\Shipping\Helper\Carrier
115
115
*/
You can’t perform that action at this time.
0 commit comments