Resolve via class name

This commit is contained in:
Graham Campbell
2016-05-25 10:55:33 +01:00
parent 527e5872df
commit 200cd62dc9
2 changed files with 4 additions and 2 deletions

View File

@@ -12,6 +12,7 @@
namespace CachetHQ\Cachet\Http\Controllers;
use CachetHQ\Cachet\Models\User;
use CachetHQ\Cachet\Settings\Repository;
use Dotenv\Dotenv;
use Dotenv\Exception\InvalidPathException;
use GrahamCampbell\Binput\Facades\Binput;
@@ -175,7 +176,7 @@ class SetupController extends Controller
Auth::login($user);
$setting = app('setting');
$setting = app(Repository::class);
$settings = array_pull($postData, 'settings');