File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -40,11 +40,10 @@ class AccessToken extends Entity {
4040 protected $ tokenCount ;
4141
4242 public function __construct () {
43- $ this ->addType ('id ' , Types::INTEGER );
4443 $ this ->addType ('tokenId ' , Types::INTEGER );
4544 $ this ->addType ('clientId ' , Types::INTEGER );
46- $ this ->addType ('hashedCode ' , ' string ' );
47- $ this ->addType ('encryptedToken ' , ' string ' );
45+ $ this ->addType ('hashedCode ' , Types:: STRING );
46+ $ this ->addType ('encryptedToken ' , Types:: STRING );
4847 $ this ->addType ('codeCreatedAt ' , Types::INTEGER );
4948 $ this ->addType ('tokenCount ' , Types::INTEGER );
5049 }
Original file line number Diff line number Diff line change @@ -32,10 +32,9 @@ class Client extends Entity {
3232 protected $ secret ;
3333
3434 public function __construct () {
35- $ this ->addType ('id ' , Types::INTEGER );
36- $ this ->addType ('name ' , 'string ' );
37- $ this ->addType ('redirectUri ' , 'string ' );
38- $ this ->addType ('clientIdentifier ' , 'string ' );
39- $ this ->addType ('secret ' , 'string ' );
35+ $ this ->addType ('name ' , Types::STRING );
36+ $ this ->addType ('redirectUri ' , Types::STRING );
37+ $ this ->addType ('clientIdentifier ' , Types::STRING );
38+ $ this ->addType ('secret ' , Types::STRING );
4039 }
4140}
You can’t perform that action at this time.
0 commit comments