Small changes to make code more testable.

This commit is contained in:
James Cole
2017-04-28 18:04:57 +02:00
parent 9d1508049e
commit 0307b58d17
5 changed files with 73 additions and 7 deletions

View File

@@ -62,7 +62,7 @@ class JournalServiceProvider extends ServiceProvider
if ($app->auth->check()) {
$collector->setUser(auth()->user());
}
$collector->startQuery();
return $collector;
}