[ShadertoyBridge] Even more Linter fixes

This commit is contained in:
Tobias Alexander Franke 2025-02-25 22:48:43 +01:00
parent bb386e8725
commit 6c9182b04e

View File

@ -66,8 +66,7 @@ class ShadertoyBridge extends BridgeAbstract
CURLOPT_RETURNTRANSFER => true
];
$json = getContents($url, $header, $opts);
}
else {
} else {
$url = static::URI . '/results?sort=' . $category;
$contents = getContents($url);
$json = extractFromDelimiters($contents, 'var gShaders=', 'var gUseScreenshots');