| 1 | <?php |
||
| 6 | class SAL_Token { |
||
| 7 | |||
| 8 | public $blog_id; |
||
| 9 | public $user_id; |
||
| 10 | public $scope; |
||
| 11 | public $client_id; |
||
| 12 | public $external_user_id; |
||
| 13 | public $external_user_code; |
||
| 14 | public $auth_type; |
||
| 15 | |||
| 16 | function __construct( $blog_id, $user_id, $scope, $client_id, $external_user_id, $external_user_code, $auth_type ) { |
||
| 25 | |||
| 26 | public function is_global() { |
||
| 29 | |||
| 30 | static function for_anonymous_user() { |
||
| 41 | |||
| 42 | static function from_rest_token( $token ) { |
||
| 53 | } |
This check marks access to variables or properties that have not been declared yet. While PHP has no explicit notion of declaring a variable, accessing it before a value is assigned to it is most likely a bug.