File tree Expand file tree Collapse file tree 5 files changed +12
-18
lines changed
Cron/Model/Config/Converter
Newsletter/Block/Adminhtml/Template
lib/internal/Magento/Framework/App/Utility Expand file tree Collapse file tree 5 files changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public function convert($source)
29
29
/**
30
30
* Extract and prepare cron job data
31
31
*
32
- * @param array $jobs
32
+ * @param array $cronTab
33
33
* @return array
34
34
*/
35
35
protected function _extractParams (array $ cronTab )
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Media application
4
- *
5
3
* Copyright © Magento, Inc. All rights reserved.
6
4
* See COPYING.txt for license details.
7
5
*/
@@ -45,8 +43,6 @@ class Media implements AppInterface
45
43
private $ isAllowed ;
46
44
47
45
/**
48
- * Media directory path
49
- *
50
46
* @var string
51
47
*/
52
48
private $ mediaDirectoryPath ;
Original file line number Diff line number Diff line change 21
21
class Edit extends Widget
22
22
{
23
23
/**
24
- * Core registry
25
- *
26
24
* @var \Magento\Framework\Registry
27
25
*/
28
26
protected $ _coreRegistry = null ;
@@ -217,7 +215,7 @@ public function getForm()
217
215
public function getJsTemplateName ()
218
216
{
219
217
$ templateCode = $ this ->getModel ()->getTemplateCode ();
220
- return $ templateCode ? addcslashes ($ templateCode, "\"\r\n\\" ) : '' ;
218
+ return $ templateCode ? addslashes ($ templateCode ) : '' ;
221
219
}
222
220
223
221
/**
Original file line number Diff line number Diff line change 33
33
*/
34
34
class Discount extends AbstractTotal
35
35
{
36
- const COLLECTOR_TYPE_CODE = 'discount ' ;
36
+ public const COLLECTOR_TYPE_CODE = 'discount ' ;
37
37
38
38
/**
39
39
* Discount calculation object
Original file line number Diff line number Diff line change 24
24
*/
25
25
class Files
26
26
{
27
- const INCLUDE_APP_CODE = 1 ;
27
+ public const INCLUDE_APP_CODE = 1 ;
28
28
29
- const INCLUDE_TESTS = 2 ;
29
+ public const INCLUDE_TESTS = 2 ;
30
30
31
- const INCLUDE_DEV_TOOLS = 4 ;
31
+ public const INCLUDE_DEV_TOOLS = 4 ;
32
32
33
- const INCLUDE_TEMPLATES = 8 ;
33
+ public const INCLUDE_TEMPLATES = 8 ;
34
34
35
- const INCLUDE_LIBS = 16 ;
35
+ public const INCLUDE_LIBS = 16 ;
36
36
37
- const INCLUDE_PUB_CODE = 32 ;
37
+ public const INCLUDE_PUB_CODE = 32 ;
38
38
39
- const INCLUDE_NON_CLASSES = 64 ;
39
+ public const INCLUDE_NON_CLASSES = 64 ;
40
40
41
- const INCLUDE_SETUP = 128 ;
41
+ public const INCLUDE_SETUP = 128 ;
42
42
43
43
/**
44
44
* Return as data set
45
45
*/
46
- const AS_DATA_SET = 1024 ;
46
+ public const AS_DATA_SET = 1024 ;
47
47
48
48
/**
49
49
* @var ComponentRegistrar
You can’t perform that action at this time.
0 commit comments