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 @@ -38,11 +38,10 @@ class AccessToken extends Entity {
3838 protected $ tokenCount ;
3939
4040 public function __construct () {
41- $ this ->addType ('id ' , Types::INTEGER );
4241 $ this ->addType ('tokenId ' , Types::INTEGER );
4342 $ this ->addType ('clientId ' , Types::INTEGER );
44- $ this ->addType ('hashedCode ' , ' string ' );
45- $ this ->addType ('encryptedToken ' , ' string ' );
43+ $ this ->addType ('hashedCode ' , Types:: STRING );
44+ $ this ->addType ('encryptedToken ' , Types:: STRING );
4645 $ this ->addType ('codeCreatedAt ' , Types::INTEGER );
4746 $ this ->addType ('tokenCount ' , Types::INTEGER );
4847 }
Original file line number Diff line number Diff line change @@ -30,10 +30,9 @@ class Client extends Entity {
3030 protected $ secret ;
3131
3232 public function __construct () {
33- $ this ->addType ('id ' , Types::INTEGER );
34- $ this ->addType ('name ' , 'string ' );
35- $ this ->addType ('redirectUri ' , 'string ' );
36- $ this ->addType ('clientIdentifier ' , 'string ' );
37- $ this ->addType ('secret ' , 'string ' );
33+ $ this ->addType ('name ' , Types::STRING );
34+ $ this ->addType ('redirectUri ' , Types::STRING );
35+ $ this ->addType ('clientIdentifier ' , Types::STRING );
36+ $ this ->addType ('secret ' , Types::STRING );
3837 }
3938}
You can’t perform that action at this time.
0 commit comments