1010 */
1111interface RegisteredClaims
1212{
13- public const ALL = [
13+ public const array ALL = [
1414 self ::AUDIENCE ,
1515 self ::EXPIRATION_TIME ,
1616 self ::ID ,
@@ -20,7 +20,7 @@ interface RegisteredClaims
2020 self ::SUBJECT ,
2121 ];
2222
23- public const DATE_CLAIMS = [
23+ public const array DATE_CLAIMS = [
2424 self ::ISSUED_AT ,
2525 self ::NOT_BEFORE ,
2626 self ::EXPIRATION_TIME ,
@@ -31,47 +31,47 @@ interface RegisteredClaims
3131 *
3232 * @see https://tools.ietf.org/html/rfc7519#section-4.1.3
3333 */
34- public const AUDIENCE = 'aud ' ;
34+ public const string AUDIENCE = 'aud ' ;
3535
3636 /**
3737 * Identifies the expiration time on or after which the JWT MUST NOT be accepted for processing
3838 *
3939 * @see https://tools.ietf.org/html/rfc7519#section-4.1.4
4040 */
41- public const EXPIRATION_TIME = 'exp ' ;
41+ public const string EXPIRATION_TIME = 'exp ' ;
4242
4343 /**
4444 * Provides a unique identifier for the JWT
4545 *
4646 * @see https://tools.ietf.org/html/rfc7519#section-4.1.7
4747 */
48- public const ID = 'jti ' ;
48+ public const string ID = 'jti ' ;
4949
5050 /**
5151 * Identifies the time at which the JWT was issued
5252 *
5353 * @see https://tools.ietf.org/html/rfc7519#section-4.1.6
5454 */
55- public const ISSUED_AT = 'iat ' ;
55+ public const string ISSUED_AT = 'iat ' ;
5656
5757 /**
5858 * Identifies the principal that issued the JWT
5959 *
6060 * @see https://tools.ietf.org/html/rfc7519#section-4.1.1
6161 */
62- public const ISSUER = 'iss ' ;
62+ public const string ISSUER = 'iss ' ;
6363
6464 /**
6565 * Identifies the time before which the JWT MUST NOT be accepted for processing
6666 *
6767 * https://tools.ietf.org/html/rfc7519#section-4.1.5
6868 */
69- public const NOT_BEFORE = 'nbf ' ;
69+ public const string NOT_BEFORE = 'nbf ' ;
7070
7171 /**
7272 * Identifies the principal that is the subject of the JWT.
7373 *
7474 * https://tools.ietf.org/html/rfc7519#section-4.1.2
7575 */
76- public const SUBJECT = 'sub ' ;
76+ public const string SUBJECT = 'sub ' ;
7777}
0 commit comments