Skip to content

Commit

Permalink
Laravel - another PHP 5.3 compatibility fix. (Fixes itsgoingd#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
itsgoingd committed Jan 13, 2014
1 parent ce389e8 commit 5a7c400
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Clockwork/Clockwork.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Clockwork implements LoggerInterface
/**
* Clockwork version
*/
const VERSION = '1.4.1';
const VERSION = '1.4.2';

/**
* Array of data sources, these objects provide data to be stored in a request object
Expand Down
4 changes: 2 additions & 2 deletions Clockwork/Support/Laravel/ClockworkServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function provides()
return array('clockwork');
}

private function isEnabled()
public function isEnabled()
{
$is_enabled = $this->app['config']->get('clockwork::config.enable', null);

Expand All @@ -148,7 +148,7 @@ private function isEnabled()
return $is_enabled;
}

private function isCollectingData()
public function isCollectingData()
{
return $this->isEnabled() || $this->app['config']->get('clockwork::config.collect_data_always', true);
}
Expand Down

0 comments on commit 5a7c400

Please sign in to comment.