aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/bshaffer/oauth2-server-php/src/OAuth2/TokenType/Bearer.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-06-02 08:00:45 +0000
committerMario <mario@mariovavti.com>2022-06-02 08:00:45 +0000
commitd1a8e7813a5cd695f13339ab0c9cc19daf3f1d94 (patch)
treec23243ae91154fd85866833f23f4f5ae24a1a1fc /vendor/bshaffer/oauth2-server-php/src/OAuth2/TokenType/Bearer.php
parenta0582fec12ffd53b7bafb93795eb5ea1dfb57da1 (diff)
downloadvolse-hubzilla-d1a8e7813a5cd695f13339ab0c9cc19daf3f1d94.tar.gz
volse-hubzilla-d1a8e7813a5cd695f13339ab0c9cc19daf3f1d94.tar.bz2
volse-hubzilla-d1a8e7813a5cd695f13339ab0c9cc19daf3f1d94.zip
Revert "composer updates"
This reverts commit 47448b11cdd5b077b6a8412b41db2862c6d2d4b3.
Diffstat (limited to 'vendor/bshaffer/oauth2-server-php/src/OAuth2/TokenType/Bearer.php')
-rw-r--r--vendor/bshaffer/oauth2-server-php/src/OAuth2/TokenType/Bearer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/bshaffer/oauth2-server-php/src/OAuth2/TokenType/Bearer.php b/vendor/bshaffer/oauth2-server-php/src/OAuth2/TokenType/Bearer.php
index aa1094b1e..8ac8596ac 100644
--- a/vendor/bshaffer/oauth2-server-php/src/OAuth2/TokenType/Bearer.php
+++ b/vendor/bshaffer/oauth2-server-php/src/OAuth2/TokenType/Bearer.php
@@ -109,7 +109,7 @@ class Bearer implements TokenTypeInterface
}
$contentType = $request->server('CONTENT_TYPE');
- if (false !== $pos = strpos((string) $contentType, ';')) {
+ if (false !== $pos = strpos($contentType, ';')) {
$contentType = substr($contentType, 0, $pos);
}