Formatting
This commit is contained in:
parent
734ed57fa3
commit
7017e720d7
@ -145,21 +145,21 @@ class APnutI
|
|||||||
switch ($k) {
|
switch ($k) {
|
||||||
case 'X-RateLimit-Remaining':
|
case 'X-RateLimit-Remaining':
|
||||||
$this->rate_limit_remaining = (int)$v;
|
$this->rate_limit_remaining = (int)$v;
|
||||||
break;
|
break;
|
||||||
case 'X-RateLimit-Limit':
|
case 'X-RateLimit-Limit':
|
||||||
$this->rate_limit = (int)$v;
|
$this->rate_limit = (int)$v;
|
||||||
break;
|
break;
|
||||||
case 'X-RateLimit-Reset':
|
case 'X-RateLimit-Reset':
|
||||||
$this->rate_limit_reset = (int)$v;
|
$this->rate_limit_reset = (int)$v;
|
||||||
break;
|
break;
|
||||||
case 'X-OAuth-Scopes':
|
case 'X-OAuth-Scopes':
|
||||||
$this->scope = $v;
|
$this->scope = $v;
|
||||||
$this->scopes = explode(',', $v);
|
$this->scopes = explode(',', $v);
|
||||||
break;
|
break;
|
||||||
case 'location':
|
case 'location':
|
||||||
case 'Location':
|
case 'Location':
|
||||||
$this->redirectTarget = $v;
|
$this->redirectTarget = $v;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $content;
|
return $content;
|
||||||
|
Loading…
Reference in New Issue
Block a user