Skip to content

Commit 1d3f5d3

Browse files
committed
BUG#AC-853:@api annotations moved to class/interface level & removed from member functions
1 parent f0f779a commit 1d3f5d3

File tree

84 files changed

+66
-255
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+66
-255
lines changed

app/code/Magento/AdminNotification/Model/InboxInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,20 @@ interface InboxInterface
1818
*
1919
* @param int|null $severity
2020
* @return array|string|null
21-
* @api
2221
*/
2322
public function getSeverities($severity = null);
2423

2524
/**
2625
* Retrieve Latest Notice
2726
*
2827
* @return $this
29-
* @api
3028
*/
3129
public function loadLatestNotice();
3230

3331
/**
3432
* Retrieve notice statuses
3533
*
3634
* @return array
37-
* @api
3835
*/
3936
public function getNoticeStatus();
4037
}

app/code/Magento/Authorization/Model/Role.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
/**
1313
* Admin Role Model
1414
*
15-
* @api
1615
* @method int getParentId()
1716
* @method Role setParentId(int $value)
1817
* @method int getTreeLevel()

app/code/Magento/Authorization/Model/UserContextInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,13 @@ interface UserContextInterface
2727
* Identify current user ID.
2828
*
2929
* @return int|null
30-
* @api
3130
*/
3231
public function getUserId();
3332

3433
/**
3534
* Retrieve current user type.
3635
*
3736
* @return int|null
38-
* @api
3937
*/
4038
public function getUserType();
4139
}

app/code/Magento/Backend/App/ConfigInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ interface ConfigInterface
2121
*
2222
* @param string $path
2323
* @return mixed
24-
* @api
2524
*/
2625
public function getValue($path);
2726

@@ -32,7 +31,6 @@ public function getValue($path);
3231
* @param string $path
3332
* @param mixed $value
3433
* @return void
35-
* @api
3634
*/
3735
public function setValue($path, $value);
3836

@@ -43,7 +41,6 @@ public function setValue($path, $value);
4341
*
4442
* @param string $path
4543
* @return bool
46-
* @api
4744
*/
4845
public function isSetFlag($path);
4946
}

app/code/Magento/Backend/Block/System/Store/Store.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
*
1111
* @api
1212
* @author Magento Core Team <core@magentocommerce.com>
13-
* @api
1413
* @since 100.0.2
1514
*/
1615
class Store extends \Magento\Backend\Block\Widget\Grid\Container

app/code/Magento/Backend/Block/Widget/Button.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*
1616
* @api
1717
* @author Magento Core Team <core@magentocommerce.com>
18-
* @api
1918
* @since 100.0.2
2019
*/
2120
class Button extends \Magento\Backend\Block\Widget

app/code/Magento/Backend/Block/Widget/Button/ContextInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/**
1010
* Interface \Magento\Backend\Block\Widget\Button\ContextInterface
1111
*
12+
* @api
1213
*/
1314
interface ContextInterface
1415
{
@@ -17,7 +18,6 @@ interface ContextInterface
1718
*
1819
* @param \Magento\Backend\Block\Widget\Button\Item $item
1920
* @return bool
20-
* @api
2121
*/
2222
public function canRender(\Magento\Backend\Block\Widget\Button\Item $item);
2323
}

app/code/Magento/Backend/Block/Widget/Button/ToolbarInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/**
1010
* Interface \Magento\Backend\Block\Widget\Button\ToolbarInterface
1111
*
12+
* @api
1213
*/
1314
interface ToolbarInterface
1415
{
@@ -18,7 +19,6 @@ interface ToolbarInterface
1819
* @param \Magento\Framework\View\Element\AbstractBlock $context
1920
* @param \Magento\Backend\Block\Widget\Button\ButtonList $buttonList
2021
* @return void
21-
* @api
2222
*/
2323
public function pushButtons(
2424
\Magento\Framework\View\Element\AbstractBlock $context,

app/code/Magento/Backend/Block/Widget/Form/Renderer/Fieldset.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
*
1515
* @api
1616
* @author Magento Core Team <core@magentocommerce.com>
17-
* @api
1817
* @since 100.0.2
1918
*/
2019
class Fieldset extends \Magento\Backend\Block\Template implements RendererInterface

app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/FilterInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,17 @@ interface FilterInterface
1717
{
1818
/**
1919
* @return Column
20-
* @api
2120
*/
2221
public function getColumn();
2322

2423
/**
2524
* @param Column $column
2625
* @return AbstractFilter
27-
* @api
2826
*/
2927
public function setColumn($column);
3028

3129
/**
3230
* @return string
33-
* @api
3431
*/
3532
public function getHtml();
3633
}

0 commit comments

Comments
 (0)