Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 11, 2018. It is now read-only.

Commit 5a23f8f

Browse files
author
Sebastien
committed
Fixing status code definition
1 parent 486a6a5 commit 5a23f8f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/OAuth2.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -270,11 +270,11 @@ class OAuth2
270270
* @see http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-4.1.2
271271
* @see http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-5.2
272272
*/
273-
const HTTP_FOUND = '302 Found';
274-
const HTTP_BAD_REQUEST = '400 Bad Request';
275-
const HTTP_UNAUTHORIZED = '401 Unauthorized';
276-
const HTTP_FORBIDDEN = '403 Forbidden';
277-
const HTTP_UNAVAILABLE = '503 Service Unavailable';
273+
const HTTP_FOUND = '302';
274+
const HTTP_BAD_REQUEST = '400';
275+
const HTTP_UNAUTHORIZED = '401';
276+
const HTTP_FORBIDDEN = '403';
277+
const HTTP_UNAVAILABLE = '503';
278278

279279
/**
280280
* @}

0 commit comments

Comments
 (0)