flush scout products
This commit is contained in:
parent
c72a04d1c1
commit
797d5dafc2
|
|
@ -14,7 +14,7 @@ class CategoryRepository extends WCategoryRepository
|
||||||
*
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function model()
|
public function model(): string
|
||||||
{
|
{
|
||||||
return Category::class;
|
return Category::class;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ use Webkul\Core\Repositories\ChannelRepository as BagistoChannelRepo;
|
||||||
|
|
||||||
class ChannelRepository extends BagistoChannelRepo
|
class ChannelRepository extends BagistoChannelRepo
|
||||||
{
|
{
|
||||||
function model()
|
function model(): string
|
||||||
{
|
{
|
||||||
return Channel::class;
|
return Channel::class;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,7 @@ class ProductFlatRepository extends Repository
|
||||||
*
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
function model()
|
function model(): string
|
||||||
{
|
{
|
||||||
return 'Webkul\Product\Contracts\Product';
|
return 'Webkul\Product\Contracts\Product';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ class VendorProductRepository extends Repository
|
||||||
){
|
){
|
||||||
parent::__construct($app);
|
parent::__construct($app);
|
||||||
}
|
}
|
||||||
public function model()
|
public function model(): string
|
||||||
{
|
{
|
||||||
return 'Webkul\Marketplace\Contracts\Product';
|
return 'Webkul\Marketplace\Contracts\Product';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ class VendorRepository extends SellerRepository
|
||||||
*
|
*
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
function model()
|
function model(): string
|
||||||
{
|
{
|
||||||
return Vendor::class;
|
return Vendor::class;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue