Skip to content

Commit

Permalink
Fixed PHP 5.6 compatibility issue #17
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonsalas committed Jul 12, 2018
1 parent db48402 commit c466a4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Luthier;

use DebugBar\StandardDebugBar as DebugBar;
use Luthier\RouteBuilder as Route;
use Luthier\RouteBuilder;
use Luthier\Utils;

class Debug
Expand Down Expand Up @@ -64,7 +64,7 @@ public static function getDebugBar()
*/
private static function setDebugBarRoutes()
{
Route::any('_debug_bar/css', function(){
RouteBuilder::any('_debug_bar/css', function(){

ob_start();
Debug::getDebugBar()->getJavascriptRenderer()->dumpCssAssets();
Expand Down Expand Up @@ -134,7 +134,7 @@ private static function setDebugBarRoutes()

})->name('debug_bar.css_assets');

Route::any('_debug_bar/js', function(){
RouteBuilder::any('_debug_bar/js', function(){

ob_start();
Debug::getDebugBar()->getJavascriptRenderer()->dumpJsAssets();
Expand Down

0 comments on commit c466a4d

Please sign in to comment.