Skip to content

Commit 9f59d3d

Browse files
committed
Added @api and @SInCE tags.
1 parent de50cf2 commit 9f59d3d

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

src/ErrorException.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ class ErrorException extends \ErrorException implements NamedException
2727
//--------------------------------------------------------------------------------------------------------------------
2828
/**
2929
* {@inheritdoc}
30+
*
31+
* @since 1.0.0
32+
* @api
3033
*/
3134
public function getName()
3235
{

src/FallenException.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ class FallenException extends RuntimeException
1515
* @param string $name The name or description of the variable of expression.
1616
* @param string $value The actual value the variable or expression.
1717
*
18+
* @since 1.0.0
19+
* @api
20+
*
1821
* Example:
1922
* ```
2023
* $size = 'xxl';

src/FormattedException.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ trait FormattedException
5151
* ```
5252
*
5353
* @return array
54+
*
55+
* @since 1.0.0
56+
* @api
5457
*/
5558
public static function formattedConstruct($args)
5659
{

src/LogicException.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ class LogicException extends \LogicException implements NamedException
1616
* Object constructor.
1717
*
1818
* @param mixed ... The arguments, see {@see \SetBased\Exception\FormattedException::formattedConstruct}.
19+
*
20+
* @since 1.0.0
21+
* @api
1922
*/
2023
public function __construct()
2124
{

src/NamedException.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ interface NamedException
1313
* Returns a user-friendly name of this exception.
1414
*
1515
* @return string
16+
*
17+
* @since 1.0.0
18+
* @api
1619
*/
1720
public function getName();
1821

src/RuntimeException.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ class RuntimeException extends \RuntimeException implements NamedException
1818
* See {@see \SetBased\Exception\FormattedException::formattedConstruct()} for argument list.
1919
*
2020
* @param mixed ... The arguments, see {@see \SetBased\Exception\FormattedException::formattedConstruct()}.
21+
*
22+
* @since 1.0.0
23+
* @api
2124
*/
2225
public function __construct()
2326
{

0 commit comments

Comments
 (0)