mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
Fix PHPStan errors in monsters.php
This commit is contained in:
@@ -44,6 +44,8 @@ $monster = Monster::where('hide', '!=', 1)->where('name', $monster_name)->first(
|
||||
if ($monster && isset($monster->name)) {
|
||||
$monster = $monster->toArray();
|
||||
|
||||
/** @var array $monster */
|
||||
|
||||
function sort_by_chance($a, $b)
|
||||
{
|
||||
if ($a['chance'] == $b['chance']) {
|
||||
|
Reference in New Issue
Block a user