Completed
Push — master ( 5b28ff...9f0f5c )
by Arjay
40:30 queued 25:29
created
src/Http/Controllers/ProfileController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      * Update the specified resource in storage.
22 22
      *
23 23
      * @param  \Yajra\CMS\Http\Requests\ProfileFormRequest $request
24
-     * @return \Illuminate\Http\Response
24
+     * @return \Illuminate\Http\RedirectResponse
25 25
      * @throws \Laracasts\Presenter\Exceptions\PresenterException
26 26
      */
27 27
     public function update(ProfileFormRequest $request)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Yajra\CMS\Http\Controllers;
4 4
 
5
-use Yajra\CMS\Http\Requests\ProfileFormRequest;
6 5
 use App\Http\Requests;
6
+use Yajra\CMS\Http\Requests\ProfileFormRequest;
7 7
 
8 8
 class ProfileController extends Controller
9 9
 {
Please login to merge, or discard this patch.
src/Http/Controllers/RolesController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
      * Remove selected role.
110 110
      *
111 111
      * @param \Yajra\Acl\Models\Role $role
112
-     * @return \Illuminate\Http\RedirectResponse
112
+     * @return \Illuminate\Http\JsonResponse
113 113
      */
114 114
     public function destroy(Role $role)
115 115
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Yajra\CMS\Http\Controllers;
4 4
 
5
-use Yajra\CMS\DataTables\RolesDataTable;
6 5
 use Illuminate\Database\QueryException;
7 6
 use Illuminate\Http\Request;
8 7
 use Yajra\Acl\Models\Permission;
9 8
 use Yajra\Acl\Models\Role;
9
+use Yajra\CMS\DataTables\RolesDataTable;
10 10
 
11 11
 class RolesController extends Controller
12 12
 {
Please login to merge, or discard this patch.
src/Http/Controllers/SiteConfigurationController.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,9 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Yajra\CMS\Http\Controllers;
4 4
 
5
-use Yajra\CMS\Entities\Configuration;
6
-use App\Http\Requests;
7 5
 use Illuminate\Http\Request;
6
+use Yajra\CMS\Entities\Configuration;
8 7
 
9 8
 /**
10 9
  * Class SiteConfigurationController
Please login to merge, or discard this patch.
src/Http/Controllers/UsersController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Yajra\CMS\Http\Controllers;
4 4
 
5
-use Yajra\CMS\DataTables\UsersDataTable;
6 5
 use App\User;
7 6
 use Illuminate\Database\QueryException;
8 7
 use Illuminate\Http\Request;
9 8
 use Yajra\Acl\Models\Role;
9
+use Yajra\CMS\DataTables\UsersDataTable;
10 10
 
11 11
 class UsersController extends Controller
12 12
 {
Please login to merge, or discard this patch.
src/Http/Controllers/UtilitiesController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Yajra\CMS\Http\Controllers;
4 4
 
5
-use App\Http\Requests;
6 5
 use Collective\Html\HtmlBuilder;
7 6
 use Illuminate\Contracts\Console\Kernel;
8 7
 use Illuminate\Contracts\Logging\Log;
Please login to merge, or discard this patch.
src/Http/Middleware/DynamicMenusBuilder.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     /**
56 56
      * Generate the menu.
57 57
      *
58
-     * @param \Caffeinated\Menus\Builder|\Caffeinated\Menus\Item $parentMenu
58
+     * @param Builder $parentMenu
59 59
      * @param \Yajra\CMS\Entities\Menu $item
60 60
      */
61 61
     protected function generateMenu($parentMenu, $item)
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,13 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace Yajra\CMS\Http\Middleware;
4 4
 
5
+use Caffeinated\Menus\Builder;
6
+use Caffeinated\Menus\Facades\Menu as MenuFactory;
7
+use Closure;
5 8
 use Yajra\CMS\Entities\Menu;
6 9
 use Yajra\CMS\Entities\Navigation;
7 10
 use Yajra\CMS\Entities\Widget;
8 11
 use Yajra\CMS\Repositories\Navigation\NavigationRepository;
9
-use Caffeinated\Menus\Builder;
10
-use Caffeinated\Menus\Facades\Menu as MenuFactory;
11
-use Closure;
12 12
 
13 13
 class DynamicMenusBuilder
14 14
 {
Please login to merge, or discard this patch.
src/Http/Middleware/DynamicWidgetsBuilder.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Yajra\CMS\Http\Middleware;
4 4
 
5
-use Yajra\CMS\Entities\Widget;
6 5
 use Closure;
7 6
 use Illuminate\Database\QueryException;
8 7
 use Illuminate\Support\Collection;
8
+use Yajra\CMS\Entities\Widget;
9 9
 
10 10
 class DynamicWidgetsBuilder
11 11
 {
Please login to merge, or discard this patch.
src/Presenters/ArticlePresenter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     /**
10 10
      * Edit link of the article.
11 11
      *
12
-     * @return string
12
+     * @return \Illuminate\Support\HtmlString
13 13
      */
14 14
     public function editLink()
15 15
     {
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * Publication state.
31 31
      *
32
-     * @return string
32
+     * @return \Illuminate\Support\HtmlString
33 33
      */
34 34
     public function published()
35 35
     {
Please login to merge, or discard this patch.
src/Http/Controllers/WidgetsController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
      * Get all widget types.
156 156
      *
157 157
      * @param string $type
158
-     * @return string
158
+     * @return \Illuminate\Http\JsonResponse
159 159
      */
160 160
     public function templates($type)
161 161
     {
Please login to merge, or discard this patch.