[Updated: added whitespace in Model condition.]
This commit is contained in:
parent
d4c623c25f
commit
3f80d17499
|
|
@ -50,7 +50,7 @@ class Category extends TranslatableModel implements CategoryContract
|
|||
*/
|
||||
public function image_url()
|
||||
{
|
||||
if (!$this->image) {
|
||||
if (! $this->image) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ class Customer extends Authenticatable implements CustomerContract, JWTSubject
|
|||
*/
|
||||
public function image_url()
|
||||
{
|
||||
if (!$this->image) {
|
||||
if (! $this->image) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue