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

@@ -32,7 +32,7 @@ use FireflyIII\Models\ObjectGroup;
trait CreatesObjectGroups
{
/**
* @param int $groupId
* @param int $groupId
*
* @return ObjectGroup|null
*/
@@ -42,7 +42,7 @@ trait CreatesObjectGroups
}
/**
* @param string $title
* @param string $title
*
* @return ObjectGroup|null
*/
@@ -67,11 +67,11 @@ trait CreatesObjectGroups
*/
protected function getObjectGroupMaxOrder(): int
{
return (int) $this->user->objectGroups()->max('order');
return (int)$this->user->objectGroups()->max('order');
}
/**
* @param string $title
* @param string $title
*
* @return bool
*/
@@ -81,7 +81,7 @@ trait CreatesObjectGroups
}
/**
* @param string $title
* @param string $title
*
* @return null|ObjectGroup
*/