From a8839fdf1096e899923638815bb6c2279caa615c Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 5 Dec 2020 20:11:04 +0100 Subject: [PATCH] fix phpstan --- Controller/ApiController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 5afcc9c..1a78f2c 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -197,9 +197,11 @@ final class ApiController extends Controller */ private function createView(Template $template, RequestAbstract $request, ResponseAbstract $response) : View { + /** @var array> $tcoll */ $tcoll = []; $files = $template->getSource()->getSources(); + /** @var \Modules\Media\Models\Media $tMedia */ foreach ($files as $tMedia) { $lowerPath = \strtolower($tMedia->getPath());