Various PSR12 code cleanup

This commit is contained in:
James Cole
2022-12-29 19:42:26 +01:00
parent dbf3e76ecc
commit 6cfdc58cb1
415 changed files with 7462 additions and 6874 deletions

View File

@@ -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
*/