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

@@ -52,7 +52,7 @@ class WarnAboutBills implements ShouldQueue
*
* @codeCoverageIgnore
*
* @param Carbon|null $date
* @param Carbon|null $date
*/
public function __construct(?Carbon $date)
{
@@ -97,7 +97,7 @@ class WarnAboutBills implements ShouldQueue
}
/**
* @param Bill $bill
* @param Bill $bill
* @return bool
*/
private function hasDateFields(Bill $bill): bool
@@ -114,8 +114,8 @@ class WarnAboutBills implements ShouldQueue
}
/**
* @param Bill $bill
* @param string $field
* @param Bill $bill
* @param string $field
* @return bool
*/
private function needsWarning(Bill $bill, string $field): bool
@@ -133,8 +133,8 @@ class WarnAboutBills implements ShouldQueue
}
/**
* @param Bill $bill
* @param string $field
* @param Bill $bill
* @param string $field
* @return int
*/
private function getDiff(Bill $bill, string $field): int
@@ -145,8 +145,8 @@ class WarnAboutBills implements ShouldQueue
}
/**
* @param Bill $bill
* @param string $field
* @param Bill $bill
* @param string $field
* @return void
*/
private function sendWarning(Bill $bill, string $field): void
@@ -157,7 +157,7 @@ class WarnAboutBills implements ShouldQueue
}
/**
* @param Carbon $date
* @param Carbon $date
*/
public function setDate(Carbon $date): void
{
@@ -167,7 +167,7 @@ class WarnAboutBills implements ShouldQueue
}
/**
* @param bool $force
* @param bool $force
*/
public function setForce(bool $force): void
{