Completed
Push — master ( 45ff03...8516a6 )
by Arjay
13:16
created
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/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/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/Middleware/DynamicMenusBuilder.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * Generate the menu.
50 50
      *
51
-     * @param \Caffeinated\Menus\Builder|\Caffeinated\Menus\Item $menuBuilder
51
+     * @param Builder $menuBuilder
52 52
      * @param \Yajra\CMS\Entities\Menu $menu
53 53
      */
54 54
     protected function generateMenu($menuBuilder, $menu)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Closure;
8 8
 use Yajra\CMS\Entities\Menu;
9 9
 use Yajra\CMS\Entities\Navigation;
10
-use Yajra\CMS\Entities\Widget;
11 10
 use Yajra\CMS\Repositories\Navigation\Repository;
12 11
 
13 12
 class DynamicMenusBuilder
Please login to merge, or discard this patch.
src/Entities/Traits/HasParameters.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      *
24 24
      * @param string $key
25 25
      * @param string $default
26
-     * @return mixed
26
+     * @return string
27 27
      */
28 28
     public function param($key, $default = '')
29 29
     {
Please login to merge, or discard this patch.
src/Http/Controllers/MenuItemsController.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.
migrations/2015_12_20_100007_create_articles_table.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Illuminate\Database\Schema\Blueprint;
4 3
 use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5 5
 use Illuminate\Support\Facades\Schema;
6 6
 
7 7
 class CreateArticlesTable extends Migration
Please login to merge, or discard this patch.
src/Providers/CoreServiceProvider.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
 use Yajra\CMS\Themes\ThemesServiceProvider;
24 24
 use Yajra\CMS\View\Directives\PageHeaderDirective;
25 25
 use Yajra\CMS\View\Directives\TooltipDirective;
26
-use Yajra\Datatables\DatatablesServiceProvider;
27 26
 use Yajra\Datatables\ButtonsServiceProvider;
27
+use Yajra\Datatables\DatatablesServiceProvider;
28 28
 
29 29
 class CoreServiceProvider extends ServiceProvider
30 30
 {
Please login to merge, or discard this patch.
src/helpers.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,6 @@
 block discarded – undo
71 71
     /**
72 72
      * Display a checkbox view.
73 73
      *
74
-     * @param bool $checked
75 74
      * @return string
76 75
      */
77 76
     function admin_prefix()
Please login to merge, or discard this patch.