Skip to content

Commit

Permalink
Update AbstractResponse.php
Browse files Browse the repository at this point in the history
  • Loading branch information
esase committed Oct 26, 2020
1 parent f3eb236 commit 29ea472
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/AbstractResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ class AbstractResponse
const RESPONSE_OK = 200;
const RESPONSE_CREATED = 201;
const RESPONSE_NO_CONTENT = 204;
const RESPONSE_NOT_FOUND = 404;
const RESPONSE_BAD_REQUEST = 400;
const RESPONSE_UNAUTHORIZED = 401;
const RESPONSE_NOT_FOUND = 404;
const RESPONSE_NOT_ALLOWED = 405;
const RESPONSE_CONFLICT = 409;
const RESPONSE_INTERNAL_ERROR = 500;

Expand Down Expand Up @@ -94,4 +96,4 @@ public function getResponseForDisplaying()
: $this->response;
}

}
}

0 comments on commit 29ea472

Please sign in to comment.