Upgrade to laravel 5.1

This commit is contained in:
James Cole
2015-06-11 21:19:40 +02:00
parent 0587d96474
commit b1b03a4325
15 changed files with 288 additions and 266 deletions

View File

@@ -48,7 +48,7 @@ class CategoryRepository extends ComponentRepository implements CategoryReposito
{
/** @var Collection $set */
$set = Auth::user()->categories()->orderBy('name', 'ASC')->get();
$set->sortBy(
$set = $set->sortBy(
function (Category $category) {
return $category->name;
}