Skip to content

Commit b985346

Browse files
committed
refactor: update inline docs
1 parent 180430b commit b985346

9 files changed

Lines changed: 4 additions & 14 deletions

src/Base/CreateResponseBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Psr\Http\Message\ResponseInterface as Response;
88

99
/**
10-
* @api
10+
* Base class to create response.
1111
*/
1212
class CreateResponseBase
1313
{

src/CreateResponse.php

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

1111
/**
1212
* Function to create response.
13-
*
14-
* @api
1513
*/
1614
class CreateResponse extends CreateResponseBase
1715
{

src/Json/CreateJsonResponse.php

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

1111
/**
1212
* Function to create JSON response.
13-
*
14-
* @api
1513
*/
1614
class CreateJsonResponse
1715
{

src/Json/Functions/Base/CreateJsonResponseFunctionBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
const FAILURE_RESPONSE_DEFAULT = "{\"success\":false,\"data\":null,\"errors\":[{\"code\":\"server\",\"path\":[],\"message\":\"Internal server error.\"}]}";
1212

1313
/**
14-
* @api
14+
* Base functions to create JSON response.
1515
*/
1616
class CreateJsonResponseFunctionBase extends CreateResponseBase
1717
{

src/Json/Functions/CreateJsonFailureResponseFunctions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Psr\Http\Message\ResponseInterface as Response;
1010

1111
/**
12-
* @api
12+
* Functions to create failure response in JSON.
1313
*/
1414
class CreateJsonFailureResponseFunctions extends CreateJsonResponseFunctionBase
1515
{

src/Json/Functions/CreateJsonSuccessResponseFunctions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Psr\Http\Message\ResponseInterface as Response;
99

1010
/**
11-
* @api
11+
* Functions to create success response in JSON.
1212
*/
1313
class CreateJsonSuccessResponseFunctions extends CreateJsonResponseFunctionBase
1414
{

src/Json/JsonResponse.php

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

1212
/**
1313
* JSON response.
14-
*
15-
* @api
1614
*/
1715
class JsonResponse implements JsonSerializable
1816
{

src/Json/JsonResponseError.php

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

1212
/**
1313
* JSON response error.
14-
*
15-
* @api
1614
*/
1715
class JsonResponseError implements JsonSerializable
1816
{

src/Json/ResponseErrorCode.php

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

77
/**
88
* Response error code.
9-
*
10-
* @api
119
*/
1210
enum ResponseErrorCode: string
1311
{

0 commit comments

Comments
 (0)