Comments Updated

This commit is contained in:
devansh bawari 2021-01-22 13:25:49 +05:30
parent 44374fd349
commit 0bd2762da9
1 changed files with 2 additions and 3 deletions

View File

@ -219,7 +219,7 @@ class CategoryController extends Controller
/** /**
* Get category product count. * Get category product count.
* *
* @return json * @return \Illuminate\Http\Response
*/ */
public function categoryProductCount() { public function categoryProductCount() {
$indexes = explode(",", request()->input('indexes')); $indexes = explode(",", request()->input('indexes'));
@ -239,8 +239,7 @@ class CategoryController extends Controller
* This method will fetch all root category ids from the channel. If `id` is present, * This method will fetch all root category ids from the channel. If `id` is present,
* then it is not deletable. * then it is not deletable.
* *
* @param $category * @param \Webkul\Category\Models\Category $category
*
* @return bool * @return bool
*/ */
private function isCategoryDeletable($category) private function isCategoryDeletable($category)