Completed
Push — master ( 7a1e6c...8794c3 )
by Arjay
11:28
created
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 1 patch
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.
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/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/Repositories/Extension/EloquentRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     /**
59 59
      * Get all extensions.
60 60
      *
61
-     * @return \Illuminate\Database\Eloquent\Collection|static[]
61
+     * @return \Illuminate\Database\Eloquent\Collection
62 62
      */
63 63
     public function all()
64 64
     {
Please login to merge, or discard this patch.
src/Http/Controllers/CategoryController.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/Controllers/SiteConfigurationController.php 1 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/Repositories/FileAsset/FileAssetEloquentRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     /**
59 59
      * Get all extensions.
60 60
      *
61
-     * @return \Illuminate\Database\Eloquent\Collection|static[]
61
+     * @return \Illuminate\Database\Eloquent\Collection
62 62
      */
63 63
     public function all()
64 64
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace Yajra\CMS\Repositories\FileAsset;
4 4
 
5
+use Illuminate\Support\Facades\Blade;
6
+use Roumen\Asset\Asset;
5 7
 use Yajra\CMS\Entities\Configuration;
6 8
 use Yajra\CMS\Entities\FileAsset;
7 9
 use Yajra\CMS\Entities\FileAssetGroup;
8 10
 use Yajra\CMS\Repositories\RepositoryAbstract;
9
-use Roumen\Asset\Asset;
10
-use Illuminate\Support\Facades\Blade;
11 11
 
12 12
 /**
13 13
  * Class FileAssetEloquentRepository
Please login to merge, or discard this patch.