Skip to content
This repository was archived by the owner on Aug 27, 2024. It is now read-only.

Commit 6fad6e3

Browse files
committed
Update BaseController as in Laravel 5.4
1 parent 9a34d4c commit 6fad6e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/BaseController.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Saritasa\Laravel\Controllers;
44

5+
use Illuminate\Foundation\Bus\DispatchesJobs;
56
use Illuminate\Routing\Controller;
67
use Illuminate\Foundation\Validation\ValidatesRequests;
78
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
@@ -12,5 +13,5 @@
1213
*/
1314
class BaseController extends Controller
1415
{
15-
use AuthorizesRequests, ValidatesRequests;
16+
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
1617
}

0 commit comments

Comments
 (0)