wip
This commit is contained in:
1 parent
d954a9fa5c
commit
4b4952bfec
16 files changed
+251
-340
No files matched your search
@@ -7,11 +7,11 @@ class HelperStatisticType
|
||||
protected static array $types = [
|
||||
'gls' => 'Goals',
|
||||
'crn' => 'Corner',
|
||||
'fls' => 'Fouls Commited',
|
||||
'fls' => 'Fouls',
|
||||
'ofs' => 'Offside',
|
||||
'crd' => 'Cards',
|
||||
'snt' => 'Shots On Target',
|
||||
'tsh' => 'Total shots',
|
||||
'snt' => 'S on T',
|
||||
'tsh' => 'Shots',
|
||||
];
|
||||
|
||||
public static function get($filter): string
|
||||
|
||||
@@ -228,6 +228,10 @@ class LoadPerformance
|
||||
|
||||
public static function shortenEnding(array &$labels, array &$homes, array &$aways)
|
||||
{
|
||||
if (! isset($homes['all'])) {
|
||||
return;
|
||||
}
|
||||
|
||||
$count_home = 0;
|
||||
$count_away = 0;
|
||||
for ($i = \count($homes['all']) - 1; $i > 0; $i--) {
|
||||
|
||||
Reference in new issue
Block a user