From 1e953d3c3ea6dd2b093b97d35a39c5ecb63250e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Mazi=C3=A8re?= Date: Thu, 18 Aug 2016 10:20:57 +0200 Subject: [PATCH] use BridgeAbstract::file_get_html instead of SimpleHTMLDOM one MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre Mazière --- bridges/StripeAPIChangeLogBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/StripeAPIChangeLogBridge.php b/bridges/StripeAPIChangeLogBridge.php index 4a4c5bb..7a0139e 100644 --- a/bridges/StripeAPIChangeLogBridge.php +++ b/bridges/StripeAPIChangeLogBridge.php @@ -16,7 +16,7 @@ class StripeAPIChangeLogBridge extends BridgeAbstract{ } public function collectData(array $param){ - $html = file_get_html('https://stripe.com/docs/upgrades') + $html = $this->file_get_html('https://stripe.com/docs/upgrades') or $this->returnServerError('No results for Stripe API Changelog');