fix phpstan warnings

This commit is contained in:
James Cole
2025-01-03 15:53:10 +01:00
parent d95f3ca59f
commit fe4d139817
173 changed files with 374 additions and 360 deletions

View File

@@ -37,7 +37,7 @@ class BillDateCalculator
/**
* Returns the dates a bill needs to be paid.
*
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
* @SuppressWarnings("PHPMD.ExcessiveParameterList")
*/
public function getPayDates(Carbon $earliest, Carbon $latest, Carbon $billStart, string $period, int $skip, ?Carbon $lastPaid): array
{

View File

@@ -34,7 +34,7 @@ trait ReturnsIntegerIdTrait
/**
* Get the ID
*
* @SuppressWarnings(PHPMD.ShortMethodName)
* @SuppressWarnings("PHPMD.ShortMethodName")
*/
protected function id(): Attribute
{