mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
phpstan support (#250)
* phpstan v1 + workflow * Fix intend * More fixes * Update phpstan.neon * phpstan level 2 * Move errors ignoring into phpstan.neon * phpstan level 3 * Don't ignore templates folder * Something from level 4 * Update phpstan.neon
This commit is contained in:
@@ -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'];
|
||||
|
Reference in New Issue
Block a user