Skip to content

Commit f78e59c

Browse files
committed
Merge remote-tracking branch 'git-36978/no-author/framework-02' into bluetooth_delivery
2 parents 3ef65e4 + c1549d1 commit f78e59c

22 files changed

+42
-52
lines changed

lib/internal/Magento/Framework/Data/Form/Element/AbstractElement.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
*
1919
* phpcs:disable Magento2.Classes.AbstractApi
2020
* @api
21-
* @author Magento Core Team <core@magentocommerce.com>
2221
* @SuppressWarnings(PHPMD.NumberOfChildren)
2322
* @since 100.0.2
2423
*/

lib/internal/Magento/Framework/Data/Form/Element/Button.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Form button element
9-
*
10-
* @author Magento Core Team <core@magentocommerce.com>
119
*/
1210
namespace Magento\Framework\Data\Form\Element;
1311

lib/internal/Magento/Framework/Data/Form/Element/Checkbox.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<?php
2+
23
/**
34
* Copyright © Magento, Inc. All rights reserved.
45
* See COPYING.txt for license details.
56
*/
7+
68
namespace Magento\Framework\Data\Form\Element;
79

810
use Magento\Framework\Escaper;
911

1012
/**
1113
* Form checkbox element
12-
*
13-
* @author Magento Core Team <core@magentocommerce.com>
1414
*/
1515
class Checkbox extends AbstractElement
1616
{
@@ -32,6 +32,8 @@ public function __construct(
3232
}
3333

3434
/**
35+
* Get HTML attributes
36+
*
3537
* @return string[]
3638
*/
3739
public function getHtmlAttributes()
@@ -53,6 +55,8 @@ public function getHtmlAttributes()
5355
}
5456

5557
/**
58+
* Get Element HTML
59+
*
5660
* @return string
5761
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
5862
*/
@@ -63,13 +67,15 @@ public function getElementHtml()
6367
} else {
6468
$this->unsetData('checked');
6569
}
70+
6671
return parent::getElementHtml();
6772
}
6873

6974
/**
7075
* Set check status of checkbox
7176
*
7277
* @param bool $value
78+
*
7379
* @return Checkbox
7480
*/
7581
public function setIsChecked($value = false)

lib/internal/Magento/Framework/Data/Form/Element/Checkboxes.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
/**
1111
* Form select element
12-
*
13-
* @author Magento Core Team <core@magentocommerce.com>
1412
*/
1513
class Checkboxes extends AbstractElement
1614
{

lib/internal/Magento/Framework/Data/Form/Element/Collection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
/**
1212
* Form element collection
13-
*
14-
* @author Magento Core Team <core@magentocommerce.com>
1513
*/
1614
class Collection implements \ArrayAccess, \IteratorAggregate, \Countable
1715
{

lib/internal/Magento/Framework/Data/Form/Element/Column.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Form column
9-
*
10-
* @author Magento Core Team <core@magentocommerce.com>
119
*/
1210
namespace Magento\Framework\Data\Form\Element;
1311

lib/internal/Magento/Framework/Data/Form/Element/Date.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
/**
88
* Magento data selector form element
9-
*
10-
* @author Magento Core Team <core@magentocommerce.com>
119
*/
1210

1311
namespace Magento\Framework\Data\Form\Element;

lib/internal/Magento/Framework/Data/Form/Element/Editablemultiselect.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?php
2+
23
/**
34
* Copyright © Magento, Inc. All rights reserved.
45
* See COPYING.txt for license details.
@@ -8,8 +9,6 @@
89
* Form editable select element
910
*
1011
* Element allows inline modification of textual data within select
11-
*
12-
* @author Magento Core Team <core@magentocommerce.com>
1312
*/
1413
namespace Magento\Framework\Data\Form\Element;
1514

@@ -70,7 +69,7 @@ public function __construct(
7069
*
7170
* This class must define init() method and receive configuration in the constructor
7271
*/
73-
const DEFAULT_ELEMENT_JS_CLASS = 'EditableMultiselect';
72+
public const DEFAULT_ELEMENT_JS_CLASS = 'EditableMultiselect';
7473

7574
/**
7675
* Retrieve HTML markup of the element
@@ -142,11 +141,12 @@ function check( tries, delay ){
142141
*
143142
* @param array $option
144143
* @param string[] $selected
144+
*
145145
* @return string
146146
*/
147147
protected function _optionToHtml($option, $selected)
148148
{
149-
$optionId = 'optId' .$this->random->getRandomString(8);
149+
$optionId = 'optId' . $this->random->getRandomString(8);
150150
$html = '<option value="' . $this->_escape($option['value']) . '" id="' . $optionId . '" ';
151151
$html .= isset($option['title']) ? 'title="' . $this->_escape($option['title']) . '"' : '';
152152
if (in_array((string)$option['value'], $selected)) {

lib/internal/Magento/Framework/Data/Form/Element/Editor.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
/**
1515
* Form editor element
16-
*
17-
* @author Magento Core Team <core@magentocommerce.com>
1816
*/
1917
class Editor extends Textarea
2018
{

lib/internal/Magento/Framework/Data/Form/Element/Fieldset.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* Form fieldset
1313
*
1414
* @api
15-
* @author Magento Core Team <core@magentocommerce.com>
1615
* @since 100.0.2
1716
*/
1817
class Fieldset extends AbstractElement

0 commit comments

Comments
 (0)