Completed
Push — master ( ddf4ad...b4622f )
by
unknown
23:07 queued 08:03
created
src/Http/Controllers/MenuItemsController.php 1 patch
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.
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.
src/Http/Controllers/FileAssetController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      * Remove selected asset.
41 41
      *
42 42
      * @param \Yajra\CMS\Entities\FileAsset $asset
43
-     * @return bool|null
43
+     * @return FileAsset
44 44
      */
45 45
     public function deleteAsset(FileAsset $asset)
46 46
     {
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/Http/Controllers/ImageBrowserController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      * Upload image file.
35 35
      *
36 36
      * @param \Illuminate\Http\Request $request
37
-     * @return array
37
+     * @return \Illuminate\Http\JsonResponse
38 38
      */
39 39
     public function uploadFile(Request $request)
40 40
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,8 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use App\Http\Controllers\Controller;
6 6
 use Illuminate\Http\Request;
7
-use Yajra\CMS\Http\NotificationResponse;
8 7
 use Symfony\Component\Finder\Finder;
8
+use Yajra\CMS\Http\NotificationResponse;
9 9
 
10 10
 /**
11 11
  * Class ImageBrowserController
Please login to merge, or discard this patch.
src/Providers/ViewComposerServiceProvider.php 1 patch
Unused Use Statements   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,11 +5,9 @@
 block discarded – undo
5 5
 use Illuminate\Contracts\View\View;
6 6
 use Illuminate\Support\ServiceProvider;
7 7
 use Illuminate\Support\Str;
8
+use Symfony\Component\Finder\Finder;
8 9
 use Yajra\Acl\Models\Permission;
9
-use Yajra\CMS\Entities\Category;
10
-use Yajra\CMS\Entities\Configuration;
11 10
 use Yajra\CMS\Entities\Menu;
12
-use Symfony\Component\Finder\Finder;
13 11
 
14 12
 class ViewComposerServiceProvider extends ServiceProvider
15 13
 {
Please login to merge, or discard this patch.