laravel/framework — pull request #2939 by itsgoingd (2013-12-13 11:17:26+00:00)
Title: Fixed Eloquent query builder withTrashed method when used with nested where or whereRaw.

`Illuminate\Database\Eloquent\Builder::isSoftDeleteConstraint` method checks for `$where['column']`, which is not set for nested or raw wheres, reversed the condition to check for `$where['type']` first.