chore: fix various qodana issues

This commit is contained in:
James Cole
2023-06-04 06:30:22 +02:00
parent 160c364d2a
commit 688ca8e374
20 changed files with 56 additions and 106 deletions

View File

@@ -44,10 +44,10 @@ class AccountController extends Controller
* @param Carbon $start
* @param Carbon $end
*
* @return mixed|string
* @return string
* @throws FireflyException
*/
public function general(Collection $accounts, Carbon $start, Carbon $end)
public function general(Collection $accounts, Carbon $start, Carbon $end): string
{
// chart properties for cache:
$cache = new CacheProperties();