From 3989b318e7752d34778ad48de4785fad1bb89204 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Wed, 18 May 2016 00:08:15 +0200 Subject: [PATCH] tweeper.php: make it clearer that getUrlContents is a static method --- tweeper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tweeper.php b/tweeper.php index f7d619e..1836a2a 100644 --- a/tweeper.php +++ b/tweeper.php @@ -205,7 +205,7 @@ class Tweeper { return NULL; } - $stylesheet_contents = $this->getUrlContents($stylesheet); + $stylesheet_contents = Tweeper::getUrlContents($stylesheet); $xslDoc = new DOMDocument(); $xslDoc->loadXML($stylesheet_contents); @@ -319,7 +319,7 @@ class Tweeper { return NULL; } - $html = $this->getUrlContents($src_url); + $html = Tweeper::getUrlContents($src_url); if (FALSE === $html) { return NULL; } -- 2.1.4