Small code cleanup.

This commit is contained in:
James Cole
2023-12-23 06:22:47 +01:00
parent 581e5d7330
commit ca8f153c6a
7 changed files with 83 additions and 51 deletions

View File

@@ -169,9 +169,9 @@ class BudgetController extends Controller
}
/**
* Shared between the "noBudgetLimits" function and "processLimit".
* Shared between the "noBudgetLimits" function and "processLimit". Will take a single set of expenses and return its info.
*
* Will take a single set of expenses and return its info.
* @param array<int, array<int, string>> $array
*
* @throws FireflyException
*/

View File

@@ -88,7 +88,7 @@ class Controller extends BaseController
/**
* Returns a JSON API object and returns it.
*
* @param Model $object
* @param array<int, mixed>|Model $object
*/
final protected function jsonApiObject(string $key, array|Model $object, AbstractTransformer $transformer): array
{