phpstan level 3

This commit is contained in:
slawkens 2024-02-01 22:44:58 +01:00
parent 765baf248f
commit b95ae42ace
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,5 @@
parameters:
level: 2
level: 3
paths:
- .
- templates/tibiacom

View File

@ -67,6 +67,9 @@ if(isset($_GET['title'], $_GET['body'], $_GET['player_id'], $_GET['category'], $
);
foreach($tickers as &$ticker) {
/**
* @var array $ticker
*/
$ticker['icon'] = $categories[$ticker['category']]['icon_id'];
$ticker['body_short'] = short_text(strip_tags($ticker['body']), 100);
$ticker['hidden'] = $ticker['hide'];