From 3f80d174995f653cb6a4faa16fe7a67e1c21f1c2 Mon Sep 17 00:00:00 2001 From: Vivek Date: Thu, 14 Oct 2021 14:33:34 +0530 Subject: [PATCH] [Updated: added whitespace in Model condition.] --- packages/Webkul/Category/src/Models/Category.php | 2 +- packages/Webkul/Customer/src/Models/Customer.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/Webkul/Category/src/Models/Category.php b/packages/Webkul/Category/src/Models/Category.php index 894cc9d75..aa8c26722 100755 --- a/packages/Webkul/Category/src/Models/Category.php +++ b/packages/Webkul/Category/src/Models/Category.php @@ -50,7 +50,7 @@ class Category extends TranslatableModel implements CategoryContract */ public function image_url() { - if (!$this->image) { + if (! $this->image) { return; } diff --git a/packages/Webkul/Customer/src/Models/Customer.php b/packages/Webkul/Customer/src/Models/Customer.php index 0edd3e897..02243dd44 100755 --- a/packages/Webkul/Customer/src/Models/Customer.php +++ b/packages/Webkul/Customer/src/Models/Customer.php @@ -53,7 +53,7 @@ class Customer extends Authenticatable implements CustomerContract, JWTSubject */ public function image_url() { - if (!$this->image) { + if (! $this->image) { return; }