From 074718dc4a87f4d84d94f0a7938d109d3d2e09c9 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 20 May 2013 21:03:14 -0400 Subject: Add public keyword to __construct method in BostonFoodTrucks --- boston_food_trucks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boston_food_trucks.php b/boston_food_trucks.php index ac2b2be..37bb4f9 100644 --- a/boston_food_trucks.php +++ b/boston_food_trucks.php @@ -43,7 +43,7 @@ class BostonFoodTrucks { ); - function __construct () { + public function __construct () { $this->food_truck_html = file_get_contents($this->food_truck_schedule_url); $this->dom = new DOMDocument; $this->dom->loadHTML($this->food_truck_html); -- cgit v1.2.3