1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-11 11:04:36 +02:00

[.travis] Fix several phpcs and phpunit errors (#1799)

This commit is contained in:
Eugene Molotov
2020-10-15 12:53:19 +05:00
committed by GitHub
parent 64ec488f70
commit 645a8f62c6
14 changed files with 41 additions and 47 deletions

View File

@@ -24,7 +24,7 @@ class NasaApodBridge extends BridgeAbstract {
$picture_html_string = $picture_html->innertext;
//Extract image and explanation
$image_wrapper = $picture_html->find('a',1);
$image_wrapper = $picture_html->find('a', 1);
$image_path = $image_wrapper->href;
$img_placeholder = $image_wrapper->find('img', 0);
$img_alt = $img_placeholder->alt;