[DonnonsBridge] Fix linting error (#2524)

This commit is contained in:
Bocki 2022-03-24 12:15:22 +01:00 committed by GitHub
parent b1c36da14e
commit 2bba89d0f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class DonnonsBridge extends BridgeAbstract {
// Grab info from HTML // Grab info from HTML
$imageSrc = $element->find('img.ima-center', 0)->getAttribute('src'); $imageSrc = $element->find('img.ima-center', 0)->getAttribute('src');
// Use large image instead of small one // Use large image instead of small one
$imageSrc = str_replace("/xs/", "/lg/", $imageSrc); $imageSrc = str_replace('/xs/', '/lg/', $imageSrc);
$image = self::URI . $imageSrc; $image = self::URI . $imageSrc;
$author = $element->find('div.avatar-holder', 0)->plaintext; $author = $element->find('div.avatar-holder', 0)->plaintext;