add throws
This commit is contained in:
@@ -33,6 +33,7 @@ class ClientFactory
|
||||
{
|
||||
/**
|
||||
* @param array<string,mixed> $options
|
||||
* @throws \Laminas\Ldap\Exception\LdapException
|
||||
*/
|
||||
public function create(array $options): Client
|
||||
{
|
||||
|
||||
@@ -92,6 +92,7 @@ class ClientManager
|
||||
* expiresAt?: ?string,
|
||||
* refreshToken?: ?string,
|
||||
* } $data
|
||||
* @throws Error
|
||||
*/
|
||||
public function storeAccessToken(string $hash, array $data): void
|
||||
{
|
||||
@@ -292,6 +293,7 @@ class ClientManager
|
||||
|
||||
/**
|
||||
* @param object $client
|
||||
* @throws Error
|
||||
*/
|
||||
protected function getClientRecord($client): Entity
|
||||
{
|
||||
@@ -306,6 +308,7 @@ class ClientManager
|
||||
|
||||
/**
|
||||
* @param object $client
|
||||
* @throws Error
|
||||
*/
|
||||
public function isClientLocked($client): bool
|
||||
{
|
||||
@@ -376,6 +379,7 @@ class ClientManager
|
||||
|
||||
/**
|
||||
* @param \Espo\Core\ExternalAccount\Clients\IClient $client
|
||||
* @throws Error
|
||||
*/
|
||||
public function reFetchClient(object $client): void
|
||||
{
|
||||
|
||||
@@ -108,6 +108,7 @@ class ClientManager
|
||||
|
||||
/**
|
||||
* @param array<string,mixed> $vars
|
||||
* @throws \Espo\Core\Exceptions\Error
|
||||
*/
|
||||
public function render(?string $runScript = null, ?string $htmlFilePath = null, array $vars = []): string
|
||||
{
|
||||
|
||||
@@ -156,6 +156,7 @@ class ClassMap
|
||||
* @param string[] $fileList
|
||||
* @param ?string[] $allowedMethods
|
||||
* @param array<string,class-string> $data
|
||||
* @throws \ReflectionException
|
||||
*/
|
||||
private function fillHashFromFileList(
|
||||
array $fileList,
|
||||
|
||||
Reference in New Issue
Block a user