Skip to content

Commit

Permalink
Update LaravelDebugbar.php
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh committed Feb 11, 2016
1 parent b567abc commit 8b785d2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/LaravelDebugbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,6 @@ function ($query, $bindings = null, $time = null, $connectionName = null) use ($
// Laravel 5.2 changed the way some core events worked. We must account for
// the first argument being an "event object", where arguments are passed
// via object properties, instead of individual arguments.
// In my opinion it is better to type check rather than version check in the
// long term. Lumen doesn't support SemVer standard either, thus breaking
// the version_compare function
if ( $query instanceof \Illuminate\Database\Events\QueryExecuted ) {
$bindings = $query->bindings;
$time = $query->time;
Expand Down

0 comments on commit 8b785d2

Please sign in to comment.