mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-13 03:54:04 +02:00
ci: disallow the sizeof function in linter (#4134)
This commit is contained in:
@@ -83,7 +83,7 @@ class GameBananaBridge extends BridgeAbstract
|
||||
}
|
||||
|
||||
// Get updates from element[8], if applicable
|
||||
if ($this->getInput('updates') && sizeof($element[8]) > 0) {
|
||||
if ($this->getInput('updates') && count($element[8]) > 0) {
|
||||
$update = $element[8][0];
|
||||
$item['content'] .= '<br><strong>Update:</strong> ' . $update['_sTitle'];
|
||||
if ($update['_sText'] != '') {
|
||||
|
Reference in New Issue
Block a user