diff --git a/composer.lock b/composer.lock index 3962ff46e7..f470d7f480 100644 --- a/composer.lock +++ b/composer.lock @@ -689,16 +689,16 @@ }, { "name": "guzzlehttp/psr7", - "version": "2.2.1", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "c94a94f120803a18554c1805ef2e539f8285f9a2" + "reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/c94a94f120803a18554c1805ef2e539f8285f9a2", - "reference": "c94a94f120803a18554c1805ef2e539f8285f9a2", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/83260bb50b8fc753c72d14dc1621a2dac31877ee", + "reference": "83260bb50b8fc753c72d14dc1621a2dac31877ee", "shasum": "" }, "require": { @@ -722,7 +722,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.2-dev" + "dev-master": "2.3-dev" } }, "autoload": { @@ -784,7 +784,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.2.1" + "source": "https://github.com/guzzle/psr7/tree/2.3.0" }, "funding": [ { @@ -800,7 +800,7 @@ "type": "tidelift" } ], - "time": "2022-03-20T21:55:58+00:00" + "time": "2022-06-09T08:26:02+00:00" }, { "name": "influxdb/influxdb-php", @@ -5369,5 +5369,5 @@ "platform-overrides": { "php": "8.0" }, - "plugin-api-version": "2.2.0" + "plugin-api-version": "2.3.0" } diff --git a/src/Appwrite/Auth/OAuth2/DailyMotion.php b/src/Appwrite/Auth/OAuth2/Dailymotion.php similarity index 96% rename from src/Appwrite/Auth/OAuth2/DailyMotion.php rename to src/Appwrite/Auth/OAuth2/Dailymotion.php index 33d69c308b..a98ee37ec2 100644 --- a/src/Appwrite/Auth/OAuth2/DailyMotion.php +++ b/src/Appwrite/Auth/OAuth2/Dailymotion.php @@ -7,7 +7,7 @@ use Appwrite\Auth\OAuth2; // Reference Material // https://developers.dailymotion.com/api/#authentication -class DailyMotion extends OAuth2 +class Dailymotion extends OAuth2 { /** * @var string @@ -52,7 +52,7 @@ class DailyMotion extends OAuth2 */ public function getName(): string { - return 'DailyMotion'; + return 'dailymotion'; } /** @@ -77,7 +77,7 @@ class DailyMotion extends OAuth2 * * @return array */ - private function getFields(): array { + protected function getFields(): array { return $this->fields; } @@ -172,7 +172,7 @@ class DailyMotion extends OAuth2 /** * Check if the OAuth email is verified * - * @link https://discord.com/developers/docs/resources/user + * @link https://developers.dailymotion.com/api/#user-fields * * @param string $accessToken *