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

@@ -124,7 +124,7 @@ trait AttachmentCollection
*
* @return bool
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
$filter = static function (array $object) use ($name): bool {
/** @var array $transaction */
@@ -159,7 +159,7 @@ trait AttachmentCollection
*
* @return bool
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
$filter = static function (array $object) use ($name): bool {
/** @var array $transaction */
@@ -194,7 +194,7 @@ trait AttachmentCollection
*
* @return bool
*
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
$filter = static function (array $object) use ($name): bool {
/** @var array $transaction */