Consistently use "null" over "NULL"
This commit is contained in:
3 files changed
+7
-6
No files matched your search
+3
-2
@@ -298,7 +298,7 @@ public static function runCurlMulti(array $urls, int $timeout = 1200):array {
|
||||
|
||||
}
|
||||
|
||||
$running = NULL;
|
||||
$running = null;
|
||||
do {
|
||||
usleep(10000);
|
||||
curl_multi_exec($mh, $running);
|
||||
@@ -371,7 +371,8 @@ public static function lang_getfrombrowser(array $allowed_languages, string $def
|
||||
if (isset($matches[2])) {
|
||||
// die Qualität benutzen
|
||||
$lang_quality = (float)$matches[2];
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
// Kompabilitätsmodus: Qualität 1 annehmen
|
||||
$lang_quality = 1.0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user