- $fields = ['application-id' => $application['id'], 'uid' => $uid, 'code' => $code, 'access_token' => $access_token, 'scopes' => $scope,
- 'read' => (stripos($scope, self::SCOPE_READ) !== false),
- 'write' => (stripos($scope, self::SCOPE_WRITE) !== false),
- 'follow' => (stripos($scope, self::SCOPE_FOLLOW) !== false),
- 'push' => (stripos($scope, self::SCOPE_PUSH) !== false),
- 'created_at' => DateTimeFormat::utcNow(DateTimeFormat::MYSQL)];
+ $fields = [
+ 'application-id' => $application['id'],
+ 'uid' => $uid,
+ 'code' => $code,
+ 'access_token' => $access_token,
+ 'scopes' => $scope,
+ 'read' => (stripos($scope, self::SCOPE_READ) !== false),
+ 'write' => (stripos($scope, self::SCOPE_WRITE) !== false),
+ 'follow' => (stripos($scope, self::SCOPE_FOLLOW) !== false),
+ 'push' => (stripos($scope, self::SCOPE_PUSH) !== false),
+ 'created_at' => DateTimeFormat::utcNow(DateTimeFormat::MYSQL)];