Add strict types, add debug info

This commit is contained in:
James Cole
2022-07-16 09:25:10 +02:00
parent 5c3b4d1663
commit 9493046212
38 changed files with 222 additions and 86 deletions

View File

@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/*
* AbstractTransformer.php
* Copyright (c) 2022 james@firefly-iii.org
@@ -21,6 +22,7 @@
namespace FireflyIII\Transformers\V2;
use Illuminate\Support\Collection;
use League\Fractal\TransformerAbstract;
/**
@@ -29,4 +31,9 @@ use League\Fractal\TransformerAbstract;
abstract class AbstractTransformer extends TransformerAbstract
{
/**
* @param Collection $objects
* @return void
*/
abstract public function collectMetaData(Collection $objects): void;
}