Completed
Push — master ( adafdf...4f6c8a )
by Arjay
14:54
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/Repositories/Extension/EloquentRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * Get repository model.
51 51
      *
52
-     * @return \Illuminate\Database\Eloquent\Model|\Illuminate\Database\Eloquent\Builder
52
+     * @return Extension
53 53
      */
54 54
     public function getModel()
55 55
     {
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * Get all extensions.
61 61
      *
62
-     * @return \Illuminate\Database\Eloquent\Collection|static[]
62
+     * @return \Illuminate\Database\Eloquent\Collection
63 63
      */
64 64
     public function all()
65 65
     {
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/Providers/ViewComposerServiceProvider.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,6 @@
 block discarded – undo
6 6
 use Illuminate\Support\ServiceProvider;
7 7
 use Illuminate\Support\Str;
8 8
 use Yajra\Acl\Models\Permission;
9
-use Yajra\CMS\Entities\Category;
10
-use Yajra\CMS\Entities\Configuration;
11 9
 use Yajra\CMS\Entities\Menu;
12 10
 
13 11
 class ViewComposerServiceProvider extends ServiceProvider
Please login to merge, or discard this patch.