self::last_query wip

This commit is contained in:
salam committed 2026-05-22 16:54:11 +02:00
1 parent 33111fe604
commit a48c614907
1 file changed
+3 -3
+3 -3
View File
@@ -51,8 +51,8 @@ class PlayerLoad
$player_on_field = $filter['player_on_field'];
if ($this->$last_query) {
$res = $this->$last_query;
if (self::$last_query) {
$res = self::$last_query;
} else {
$res = StatistikoPlayer::with('event')->where('tm_player_id', $tm_player_id)
@@ -84,7 +84,7 @@ class PlayerLoad
})->get();
$this->$last_query = $res;
self::$last_query = $res;
}
$statistic_type = $filter['statistic_type'] ?? 0;