aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2013-05-20 21:03:14 -0400
committerTeddy Wing2013-05-20 21:03:14 -0400
commit074718dc4a87f4d84d94f0a7938d109d3d2e09c9 (patch)
tree0d0581905c069071e98a2613a9816aa369b1c587
parent4e9477390d641194b7915e5f1af69b44138fa408 (diff)
downloadBoston-Food-Truck-Schedule-API-074718dc4a87f4d84d94f0a7938d109d3d2e09c9.tar.bz2
Add public keyword to __construct method in BostonFoodTrucks
-rw-r--r--boston_food_trucks.php2
1 files changed, 1 insertions, 1 deletions
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);