mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various PSR12 code cleanup
This commit is contained in:
@@ -41,8 +41,8 @@ class UniqueIban implements Rule
|
||||
*
|
||||
* @codeCoverageIgnore
|
||||
*
|
||||
* @param Account|null $account
|
||||
* @param string|null $expectedType
|
||||
* @param Account|null $account
|
||||
* @param string|null $expectedType
|
||||
*/
|
||||
public function __construct(?Account $account, ?string $expectedType)
|
||||
{
|
||||
@@ -69,14 +69,14 @@ class UniqueIban implements Rule
|
||||
*/
|
||||
public function message(): string
|
||||
{
|
||||
return (string) trans('validation.unique_iban_for_user');
|
||||
return (string)trans('validation.unique_iban_for_user');
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the validation rule passes.
|
||||
*
|
||||
* @param string $attribute
|
||||
* @param mixed $value
|
||||
* @param string $attribute
|
||||
* @param mixed $value
|
||||
*
|
||||
* @return bool
|
||||
*
|
||||
@@ -139,8 +139,8 @@ class UniqueIban implements Rule
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $type
|
||||
* @param string $iban
|
||||
* @param string $type
|
||||
* @param string $iban
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
|
Reference in New Issue
Block a user