@@ -9,7 +9,7 @@ discard block |
||
| 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 |
||
| 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 | { |
@@ -52,7 +52,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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) |
@@ -155,7 +155,7 @@ |
||
| 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 | { |
@@ -40,7 +40,7 @@ |
||
| 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 | { |
@@ -49,7 +49,7 @@ discard block |
||
| 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 |
||
| 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 | { |
@@ -48,7 +48,7 @@ |
||
| 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) |
@@ -7,7 +7,6 @@ |
||
| 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 |
@@ -6,8 +6,6 @@ |
||
| 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 |