Skip to content

Commit 3cd3b91

Browse files
committed
MAGETWO-67242: Add @api Annotation in Locale and Escaper framework libraries
1 parent 6bcb185 commit 3cd3b91

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

lib/internal/Magento/Framework/Escaper.php

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

88
/**
99
* Magento escape methods
10+
*
11+
* @api
1012
*/
1113
class Escaper
1214
{

lib/internal/Magento/Framework/Locale/Format.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct(
4545
}
4646

4747
/**
48-
* Returns the first found number from an string
48+
* Returns the first found number from a string
4949
* Parsing depends on given locale (grouping and decimal)
5050
*
5151
* Examples for input:
@@ -92,7 +92,7 @@ public function getNumber($value)
9292
}
9393

9494
/**
95-
* Functions returns array with price formatting info
95+
* Returns an array with price formatting info
9696
*
9797
* @param string $localeCode Locale code.
9898
* @param string $currencyCode Currency code.

lib/internal/Magento/Framework/Locale/FormatInterface.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@
55
*/
66
namespace Magento\Framework\Locale;
77

8+
/**
9+
* @api
10+
*/
811
interface FormatInterface
912
{
1013
/**
11-
* Returns the first found number from an string
14+
* Returns the first found number from a string
1215
* Parsing depends on given locale (grouping and decimal)
1316
*
1417
* Examples for input:
@@ -27,7 +30,7 @@ interface FormatInterface
2730
public function getNumber($value);
2831

2932
/**
30-
* Functions returns array with price formatting info for js function
33+
* Returns an array with price formatting info for js function
3134
* formatCurrency in js/varien/js.js
3235
*
3336
* @return array

lib/internal/Magento/Framework/Locale/ListsInterface.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
*/
66
namespace Magento\Framework\Locale;
77

8+
/**
9+
* @api
10+
*/
811
interface ListsInterface
912
{
1013
/**

0 commit comments

Comments
 (0)