*/
class Failure
{
- public function __construct(public readonly string $error)
- {
+ public function __construct(
+ public readonly string $error
+ ) {
}
}
*/
class Success
{
- public function __construct(public readonly string $code, public readonly string $state = '')
- {
+ public function __construct(
+ public readonly string $code,
+ public readonly string $state = ''
+ ) {
}
}
*/
final class Success extends BaseSuccess
{
- public function __construct(
- string $oauth_token,
- string $oauth_verifier,
- ) {
+ public function __construct(string $oauth_token, string $oauth_verifier)
+ {
parent::__construct($oauth_token, $oauth_verifier);
}
}