mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-10-16 17:16:19 +02:00
fix: deprecation error (#4720)
rssbridge.ERROR (shutdown) 8192: Using ${var} in strings is deprecated, use {$var} instead in bridges/ModrinthBridge.php line 82
This commit is contained in:
@@ -79,7 +79,7 @@ class ModrinthBridge extends BridgeAbstract
|
|||||||
{
|
{
|
||||||
$apiUrl = 'https://api.modrinth.com/v2/project';
|
$apiUrl = 'https://api.modrinth.com/v2/project';
|
||||||
$projectName = $this->getInput('name');
|
$projectName = $this->getInput('name');
|
||||||
$url = "{$apiUrl}/${projectName}/version";
|
$url = sprintf('%s/%s/version', $apiUrl, $projectName);
|
||||||
|
|
||||||
$queryTable = [
|
$queryTable = [
|
||||||
'loaders' => $this->parseInputList($this->getInput('loaders')),
|
'loaders' => $this->parseInputList($this->getInput('loaders')),
|
||||||
|
Reference in New Issue
Block a user