wip
This commit is contained in:
1 parent
ed8a50d044
commit
cc9adae3ba
4 files changed
+4
-3
No files matched your search
@@ -122,7 +122,7 @@ class DaysTournament
|
|||||||
if (! $country_id) {
|
if (! $country_id) {
|
||||||
// platzhalter fix later sofa_score_categories => txodds countries
|
// platzhalter fix later sofa_score_categories => txodds countries
|
||||||
// CATEGORY find <-> replace
|
// CATEGORY find <-> replace
|
||||||
Log::channel('sofascore')->info($tournament);
|
// Log::channel('sofascore')->info($tournament);
|
||||||
|
|
||||||
$sofa_score_category_id = 10000000;
|
$sofa_score_category_id = 10000000;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ class Xml
|
|||||||
sleep(2); // Optional: Sleep between retries
|
sleep(2); // Optional: Sleep between retries
|
||||||
} else {
|
} else {
|
||||||
if (mb_substr($response, 0, 1) != '<') {
|
if (mb_substr($response, 0, 1) != '<') {
|
||||||
Log::debug('INVALID XML ' . $url . '----' . $response);
|
// Log::debug('INVALID XML ' . $url . '----' . $response);
|
||||||
} else {
|
} else {
|
||||||
return new SimpleXMLElement($response);
|
return new SimpleXMLElement($response);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -132,6 +132,7 @@ class PlayerProps extends Page implements HasForms
|
|||||||
->hiddenLabel()
|
->hiddenLabel()
|
||||||
->allowHtml()
|
->allowHtml()
|
||||||
->native(false)
|
->native(false)
|
||||||
|
->selectablePlaceholder(false)
|
||||||
->prefixIconColor('info')
|
->prefixIconColor('info')
|
||||||
->prefixIcon('icon-soccerfield-fill')
|
->prefixIcon('icon-soccerfield-fill')
|
||||||
->options(function () {
|
->options(function () {
|
||||||
|
|||||||
@@ -470,7 +470,7 @@ class PlayerPropsDrop extends Widget
|
|||||||
// Aspettativa per Player: AP = AT * ATR / TOT AT
|
// Aspettativa per Player: AP = AT * ATR / TOT AT
|
||||||
$results[] = $tmp;
|
$results[] = $tmp;
|
||||||
|
|
||||||
Log::debug('calc', $results);
|
// Log::debug('calc', $results);
|
||||||
|
|
||||||
// for dev copy
|
// for dev copy
|
||||||
$this->calculationVariables[] = $tmp;
|
$this->calculationVariables[] = $tmp;
|
||||||
|
|||||||
Reference in new issue
Block a user