mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
chore: reformat code.
This commit is contained in:
@@ -105,9 +105,9 @@ class WebhookRepository implements WebhookRepositoryInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* @param User|Authenticatable|null $user
|
||||
* @param User|Authenticatable|null $user
|
||||
*/
|
||||
public function setUser(User|Authenticatable|null $user): void
|
||||
public function setUser(User | Authenticatable | null $user): void
|
||||
{
|
||||
if (null !== $user) {
|
||||
$this->user = $user;
|
||||
|
@@ -43,56 +43,56 @@ interface WebhookRepositoryInterface
|
||||
public function all(): Collection;
|
||||
|
||||
/**
|
||||
* @param Webhook $webhook
|
||||
* @param Webhook $webhook
|
||||
*/
|
||||
public function destroy(Webhook $webhook): void;
|
||||
|
||||
/**
|
||||
* @param WebhookAttempt $attempt
|
||||
* @param WebhookAttempt $attempt
|
||||
*/
|
||||
public function destroyAttempt(WebhookAttempt $attempt): void;
|
||||
|
||||
/**
|
||||
* @param WebhookMessage $message
|
||||
* @param WebhookMessage $message
|
||||
*/
|
||||
public function destroyMessage(WebhookMessage $message): void;
|
||||
|
||||
/**
|
||||
* @param WebhookMessage $webhookMessage
|
||||
* @param WebhookMessage $webhookMessage
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function getAttempts(WebhookMessage $webhookMessage): Collection;
|
||||
|
||||
/**
|
||||
* @param Webhook $webhook
|
||||
* @param Webhook $webhook
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function getMessages(Webhook $webhook): Collection;
|
||||
|
||||
/**
|
||||
* @param Webhook $webhook
|
||||
* @param Webhook $webhook
|
||||
*
|
||||
* @return Collection
|
||||
*/
|
||||
public function getReadyMessages(Webhook $webhook): Collection;
|
||||
|
||||
/**
|
||||
* @param User|Authenticatable|null $user
|
||||
* @param User|Authenticatable|null $user
|
||||
*/
|
||||
public function setUser(User|Authenticatable|null $user): void;
|
||||
public function setUser(User | Authenticatable | null $user): void;
|
||||
|
||||
/**
|
||||
* @param array $data
|
||||
* @param array $data
|
||||
*
|
||||
* @return Webhook
|
||||
*/
|
||||
public function store(array $data): Webhook;
|
||||
|
||||
/**
|
||||
* @param Webhook $webhook
|
||||
* @param array $data
|
||||
* @param Webhook $webhook
|
||||
* @param array $data
|
||||
*
|
||||
* @return Webhook
|
||||
*/
|
||||
|
Reference in New Issue
Block a user