mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-29 18:59:21 +02:00
phpstan level 3
This commit is contained in:
parent
765baf248f
commit
b95ae42ace
@ -1,5 +1,5 @@
|
||||
parameters:
|
||||
level: 2
|
||||
level: 3
|
||||
paths:
|
||||
- .
|
||||
- templates/tibiacom
|
||||
|
@ -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'];
|
||||
|
Loading…
x
Reference in New Issue
Block a user