From 0dfbfc185badde0f7be15350429f08e751054458 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sun, 15 Dec 2013 23:31:26 +0000 Subject: [PATCH] More fixes --- src/Kmd/Logviewer/Logviewer.php | 2 +- .../Logviewer/LogviewerServiceProvider.php | 106 +++++++++--------- src/filters.php | 5 +- 3 files changed, 56 insertions(+), 57 deletions(-) diff --git a/src/Kmd/Logviewer/Logviewer.php b/src/Kmd/Logviewer/Logviewer.php index 7280125..a6296c2 100644 --- a/src/Kmd/Logviewer/Logviewer.php +++ b/src/Kmd/Logviewer/Logviewer.php @@ -89,7 +89,7 @@ public function log() unset($headings); unset($log_data); - if (strtolower(Config::get('logviewer::log_order')) == 'desc'){ + if (strtolower(Config::get('logviewer::log_order')) == 'desc') { $log = array_reverse($log); } diff --git a/src/Kmd/Logviewer/LogviewerServiceProvider.php b/src/Kmd/Logviewer/LogviewerServiceProvider.php index 6b3fd59..ecedbbd 100644 --- a/src/Kmd/Logviewer/LogviewerServiceProvider.php +++ b/src/Kmd/Logviewer/LogviewerServiceProvider.php @@ -1,53 +1,53 @@ -package('kmd/logviewer'); - - include __DIR__.'/../../routes.php'; - include __DIR__.'/../../filters.php'; - include __DIR__.'/../../macros.php'; - } - - /** - * Register the service provider. - * - * @access public - * @return void - */ - public function register() - { - $this->app['logviewer'] = $this->app->share(function ($app) { - return new Logviewer; - }); - } - - /** - * Get the services provided by the provider. - * - * @access public - * @return array - */ - public function provides() - { - return array('logviewer'); - } -} +package('kmd/logviewer'); + + include __DIR__.'/../../routes.php'; + include __DIR__.'/../../filters.php'; + include __DIR__.'/../../macros.php'; + } + + /** + * Register the service provider. + * + * @access public + * @return void + */ + public function register() + { + $this->app['logviewer'] = $this->app->share(function ($app) { + return new Logviewer; + }); + } + + /** + * Get the services provided by the provider. + * + * @access public + * @return array + */ + public function provides() + { + return array('logviewer'); + } +} diff --git a/src/filters.php b/src/filters.php index cc08b95..01fd143 100644 --- a/src/filters.php +++ b/src/filters.php @@ -1,7 +1,6 @@