mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-01-11 12:28:41 +00:00
fix phpstan
This commit is contained in:
parent
aa3b954ce9
commit
a8839fdf10
|
|
@ -197,9 +197,11 @@ final class ApiController extends Controller
|
|||
*/
|
||||
private function createView(Template $template, RequestAbstract $request, ResponseAbstract $response) : View
|
||||
{
|
||||
/** @var array<string, \Modules\Media\Models\Media|array<string, \Modules\Media\Models\Media>> $tcoll */
|
||||
$tcoll = [];
|
||||
$files = $template->getSource()->getSources();
|
||||
|
||||
/** @var \Modules\Media\Models\Media $tMedia */
|
||||
foreach ($files as $tMedia) {
|
||||
$lowerPath = \strtolower($tMedia->getPath());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user