Skip to content

Commit f59b0da

Browse files
author
Oleksii Korshenko
committed
MAGETWO-71174: Update doc block information in php classes with @deprecated and @SInCE tags
- fixed code style
1 parent 57b9848 commit f59b0da

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

app/code/Magento/Directory/Model/Currency/Import/YahooFinance.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111
*/
1212
class YahooFinance extends \Magento\Directory\Model\Currency\Import\AbstractImport
1313
{
14+
// @codingStandardsIgnoreStart
15+
1416
/**
1517
* Currency converter url string
1618
*
1719
* @var string
1820
*/
19-
// @codingStandardsIgnoreStart
2021
private $currencyConverterUrl = 'http://query.yahooapis.com/v1/public/yql?format=json&q={{YQL_STRING}}&env=store://datatables.org/alltableswithkeys';
2122
// @codingStandardsIgnoreEnd
2223

app/code/Magento/ImportExport/Model/Import/AbstractEntity.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ abstract class AbstractEntity
6363
const ERROR_INVALID_ATTRIBUTE_TYPE = 'invalidAttributeType';
6464
const ERROR_INVALID_ATTRIBUTE_OPTION = 'absentAttributeOption';
6565

66+
/**
67+
* @var array
68+
*/
6669
protected $errorMessageTemplates = [
6770
self::ERROR_CODE_SYSTEM_EXCEPTION => 'General system exception happened',
6871
self::ERROR_CODE_COLUMN_NOT_FOUND => 'We can\'t find required columns: %s.',

app/code/Magento/ImportExport/Model/Import/Entity/AbstractEntity.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ abstract class AbstractEntity
4747
const ERROR_CODE_COLUMNS_NUMBER = 'wrongColumnsNumber';
4848
const ERROR_CODE_CATEGORY_NOT_VALID = 'categoryNotValid';
4949

50+
/**
51+
* @var array
52+
*/
5053
protected $errorMessageTemplates = [
5154
self::ERROR_CODE_SYSTEM_EXCEPTION => 'General system exception happened',
5255
self::ERROR_CODE_COLUMN_NOT_FOUND => 'We can\'t find required columns: %s.',

app/code/Magento/Tax/Setup/UpgradeData.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ class UpgradeData implements UpgradeDataInterface
3838
/**
3939
* @var SearchCriteriaFactory
4040
*/
41-
4241
private $searchCriteriaFactory;
4342

4443
/**

lib/internal/Magento/Framework/App/ObjectManager/Environment/Developer.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@ class Developer extends AbstractEnvironment implements EnvironmentInterface
2222
* Mode name
2323
*/
2424
const MODE = 'developer';
25-
protected $mode = self::MODE;
2625
/**#@- */
2726

27+
/**
28+
* @var string
29+
*/
30+
protected $mode = self::MODE;
31+
2832
/**
2933
* @var ConfigInterface
3034
* @since 2.0.0

0 commit comments

Comments
 (0)