Completed
Push — master ( ddf4ad...b4622f )
by
unknown
23:07 queued 08:03
created
src/Http/Controllers/ArticlesController.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      * Store a newly created article.
53 53
      *
54 54
      * @param ArticlesFormRequest $request
55
-     * @return mixed
55
+     * @return \Illuminate\Http\RedirectResponse
56 56
      */
57 57
     public function store(ArticlesFormRequest $request)
58 58
     {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      *
85 85
      * @param \Yajra\CMS\Entities\Article $article
86 86
      * @param ArticlesFormRequest $request
87
-     * @return mixed
87
+     * @return \Illuminate\Http\RedirectResponse
88 88
      */
89 89
     public function update(Article $article, ArticlesFormRequest $request)
90 90
     {
Please login to merge, or discard this 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/Controllers/CategoriesController.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @param  \Yajra\CMS\Http\Requests\CategoriesFormRequest $request
55 55
      * @param  \Yajra\CMS\Entities\Category $category
56
-     * @return \Illuminate\Http\Response
56
+     * @return \Illuminate\Http\RedirectResponse
57 57
      */
58 58
     public function store(CategoriesFormRequest $request, Category $category)
59 59
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      *
87 87
      * @param  CategoriesFormRequest $request
88 88
      * @param  \Yajra\CMS\Entities\Category $category
89
-     * @return \Illuminate\Http\Response
89
+     * @return \Illuminate\Http\RedirectResponse
90 90
      */
91 91
     public function update(CategoriesFormRequest $request, Category $category)
92 92
     {
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      * Remove the specified resource from storage.
104 104
      *
105 105
      * @param  \Yajra\CMS\Entities\Category $category
106
-     * @return \Illuminate\Http\Response
106
+     * @return \Laracasts\Flash\FlashNotifier
107 107
      * @throws \Exception
108 108
      */
109 109
     public function destroy(Category $category)
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      * Button Response from DataTable request to publish status.
122 122
      *
123 123
      * @param  \Yajra\CMS\Entities\Category $category
124
-     * @return \Illuminate\Http\Response
124
+     * @return \Illuminate\Http\JsonResponse
125 125
      * @throws \Exception
126 126
      */
127 127
     public function publish(Category $category)
Please login to merge, or discard this 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\Controllers;
4 4
 
5
+use App\Http\Requests;
5 6
 use Yajra\CMS\DataTables\CategoriesDataTable;
6 7
 use Yajra\CMS\Entities\Category;
7 8
 use Yajra\CMS\Http\Requests\CategoriesFormRequest;
8
-use App\Http\Requests;
9 9
 
10 10
 class CategoriesController extends Controller
11 11
 {
Please login to merge, or discard this patch.
src/Http/Controllers/MediaController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@
 block discarded – undo
204 204
     /**
205 205
      * Scan files of the given directory.
206 206
      *
207
-     * @param $current_directory
207
+     * @param string $current_directory
208 208
      * @return \Illuminate\Support\Collection
209 209
      */
210 210
     protected function scanFiles($current_directory)
Please login to merge, or discard this 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/Controllers/NavigationController.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      * Store a newly created navigation.
53 53
      *
54 54
      * @param \Illuminate\Http\Request $request
55
-     * @return mixed
55
+     * @return \Illuminate\Http\RedirectResponse
56 56
      */
57 57
     public function store(Request $request)
58 58
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
      *
87 87
      * @param \Yajra\CMS\Entities\Navigation $navigation
88 88
      * @param \Illuminate\Http\Request $request
89
-     * @return mixed
89
+     * @return \Illuminate\Http\RedirectResponse
90 90
      */
91 91
     public function update(Navigation $navigation, Request $request)
92 92
     {
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
      * Remove selected navigation.
108 108
      *
109 109
      * @param \Yajra\CMS\Entities\Navigation $navigation
110
-     * @return string
110
+     * @return \Illuminate\Http\JsonResponse
111 111
      * @throws \Exception
112 112
      */
113 113
     public function destroy(Navigation $navigation)
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Yajra\CMS\Http\Controllers;
4 4
 
5
+use Illuminate\Http\Request;
5 6
 use Yajra\CMS\DataTables\NavigationDataTable;
6 7
 use Yajra\CMS\Entities\Navigation;
7
-use App\Http\Requests;
8
-use Illuminate\Http\Request;
9 8
 
10 9
 class NavigationController extends Controller
11 10
 {
Please login to merge, or discard this patch.
src/Http/Controllers/PermissionsController.php 2 patches
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\PermissionsDataTable;
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\PermissionsDataTable;
10 10
 
11 11
 class PermissionsController extends Controller
12 12
 {
Please login to merge, or discard this patch.
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.
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/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.