Skip to content

Commit 908829f

Browse files
author
Olga Kopylova
committed
Merge remote-tracking branch 'mainline/develop' into MAGETWO-37728-lost-option-in-generator
2 parents b1708c1 + aaa8291 commit 908829f

File tree

39 files changed

+958
-652
lines changed

39 files changed

+958
-652
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Refactored controller actions in the Product area
1010
* Moved commands cache.php, indexer.php, log.php, test.php, compiler.php, singletenant\_compiler.php, generator.php, pack.php, deploy.php and file\_assembler.php to the new bin/magento CLI framework
1111
* Data Migration Tool
12-
* The Data Migraiton Tool is published in the separate [repository](https://github.com/magento/data-migration-tool-ce, "Data Migration Tool repository")
12+
* The Data Migraiton Tool is published in the separate [repository](https://github.com/magento/data-migration-tool-ce "Data Migration Tool repository")
1313
* Fixed bugs
1414
* Fixed an issue where error appeared during placing order with virtual product
1515
* Fixed an issue where billing and shipping sections didn't contain address information on order print

app/code/Magento/Bundle/CustomerData/BundleItem.php

Lines changed: 0 additions & 47 deletions
This file was deleted.

app/code/Magento/Bundle/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"magento/framework": "0.74.0-beta9",
1919
"magento/module-quote": "0.74.0-beta9",
2020
"magento/module-media-storage": "0.74.0-beta9",
21-
"magento/module-msrp": "0.74.0-beta9",
2221
"magento/magento-composer-installer": "*"
2322
},
2423
"suggest": {

app/code/Magento/Bundle/etc/frontend/di.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,4 @@
1616
</argument>
1717
</arguments>
1818
</type>
19-
<type name="Magento\Checkout\CustomerData\ItemPoolInterface">
20-
<arguments>
21-
<argument name="itemMap" xsi:type="array">
22-
<item name="bundle" xsi:type="string">Magento\Bundle\CustomerData\BundleItem</item>
23-
</argument>
24-
</arguments>
25-
</type>
2619
</config>

app/code/Magento/Captcha/Block/Captcha/DefaultCaptcha.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ protected function _toHtml()
7979
/**
8080
* Returns captcha model
8181
*
82-
* @return \Magento\Captcha\Model\ModelInterface
82+
* @return \Magento\Captcha\Model\CaptchaInterface
8383
*/
8484
public function getCaptchaModel()
8585
{

app/code/Magento/Captcha/Helper/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function __construct(
8181
* Get Captcha
8282
*
8383
* @param string $formId
84-
* @return \Magento\Captcha\Model\ModelInterface
84+
* @return \Magento\Captcha\Model\CaptchaInterface
8585
*/
8686
public function getCaptcha($formId)
8787
{

app/code/Magento/Captcha/Model/CaptchaFactory.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ public function __construct(\Magento\Framework\ObjectManagerInterface $objectMan
2727
*
2828
* @param string $captchaType
2929
* @param string $formId
30-
* @return \Magento\Captcha\Model\ModelInterface
30+
* @return \Magento\Captcha\Model\CaptchaInterface
3131
* @throws \InvalidArgumentException
3232
*/
3333
public function create($captchaType, $formId)
3434
{
3535
$className = 'Magento\Captcha\Model\\' . ucfirst($captchaType);
3636

3737
$instance = $this->_objectManager->create($className, ['formId' => $formId]);
38-
if (!$instance instanceof \Magento\Captcha\Model\ModelInterface) {
38+
if (!$instance instanceof \Magento\Captcha\Model\CaptchaInterface) {
3939
throw new \InvalidArgumentException(
40-
$className . ' does not implement \Magento\Captcha\Model\ModelInterface'
40+
$className . ' does not implement \Magento\Captcha\Model\CaptchaInterface'
4141
);
4242
}
4343
return $instance;

app/code/Magento/Captcha/Model/ModelInterface.php renamed to app/code/Magento/Captcha/Model/CaptchaInterface.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77
*/
88
namespace Magento\Captcha\Model;
99

10-
interface ModelInterface
10+
/**
11+
* Captcha Model Interface
12+
*
13+
* @api
14+
*/
15+
interface CaptchaInterface
1116
{
1217
/**
1318
* Generates captcha

app/code/Magento/Captcha/Model/Checkout/ConfigProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ protected function isRequired($formId)
119119
* Return captcha model for specified form
120120
*
121121
* @param string $formId
122-
* @return \Magento\Captcha\Model\ModelInterface
122+
* @return \Magento\Captcha\Model\CaptchaInterface
123123
*/
124124
protected function getCaptchaModel($formId)
125125
{

app/code/Magento/Captcha/Model/DefaultModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* @author Magento Core Team <core@magentocommerce.com>
1212
*/
13-
class DefaultModel extends \Zend_Captcha_Image implements \Magento\Captcha\Model\ModelInterface
13+
class DefaultModel extends \Zend_Captcha_Image implements \Magento\Captcha\Model\CaptchaInterface
1414
{
1515
/**
1616
* Key in session for captcha code

0 commit comments

Comments
 (0)