[TOOLS] Raise PHPStan level to 5 and fix associated error, fixing some bugs in the process

This commit is contained in:
2022-10-19 22:38:49 +01:00
parent edeee49af9
commit fed2242a56
16 changed files with 139 additions and 108 deletions

View File

@@ -73,7 +73,7 @@ class APIv1 extends Controller
// dd($tag_names, $keys, $result, $xml, (string) $xml);
// $xml->addChild();
// dd($xml);
return new Response(content: $xml, status: $status);
return new Response(content: (string) $xml, status: $status);
} else {
throw new InvalidRequestException;
}