allow vendord
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
This commit is contained in:
38
vendor/kreait/firebase-php/src/Firebase/Request/CreateUser.php
vendored
Normal file
38
vendor/kreait/firebase-php/src/Firebase/Request/CreateUser.php
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Kreait\Firebase\Request;
|
||||
|
||||
use Kreait\Firebase\Exception\InvalidArgumentException;
|
||||
use Kreait\Firebase\Request;
|
||||
|
||||
final class CreateUser implements Request
|
||||
{
|
||||
/** @phpstan-use EditUserTrait<self> */
|
||||
use EditUserTrait;
|
||||
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
public static function new(): self
|
||||
{
|
||||
return new self();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array<string, mixed> $properties
|
||||
*
|
||||
* @throws InvalidArgumentException when invalid properties have been provided
|
||||
*/
|
||||
public static function withProperties(array $properties): self
|
||||
{
|
||||
return self::withEditableProperties(new self(), $properties);
|
||||
}
|
||||
|
||||
public function jsonSerialize(): array
|
||||
{
|
||||
return $this->prepareJsonSerialize();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user