diff --git a/composer.lock b/composer.lock index 3999b6a8e..35a0b5b9f 100644 --- a/composer.lock +++ b/composer.lock @@ -3906,16 +3906,16 @@ }, { "name": "laravel/framework", - "version": "v11.11.1", + "version": "v11.12.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "c9b52e84bd18f155e5ba59b948c7da3e7f37e87f" + "reference": "9a6d9cea83cfa6b9e8eda05c89741d0411d8ebe8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/c9b52e84bd18f155e5ba59b948c7da3e7f37e87f", - "reference": "c9b52e84bd18f155e5ba59b948c7da3e7f37e87f", + "url": "https://api.github.com/repos/laravel/framework/zipball/9a6d9cea83cfa6b9e8eda05c89741d0411d8ebe8", + "reference": "9a6d9cea83cfa6b9e8eda05c89741d0411d8ebe8", "shasum": "" }, "require": { @@ -4107,25 +4107,26 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-06-20T10:54:53+00:00" + "time": "2024-06-25T19:33:56+00:00" }, { "name": "laravel/octane", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/laravel/octane.git", - "reference": "2c818d7d213de793b180fc2a079f71c951d494c7" + "reference": "2fd184106fb9296e5e531de54f29405c797f7ebf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/octane/zipball/2c818d7d213de793b180fc2a079f71c951d494c7", - "reference": "2c818d7d213de793b180fc2a079f71c951d494c7", + "url": "https://api.github.com/repos/laravel/octane/zipball/2fd184106fb9296e5e531de54f29405c797f7ebf", + "reference": "2fd184106fb9296e5e531de54f29405c797f7ebf", "shasum": "" }, "require": { "laminas/laminas-diactoros": "^3.0", "laravel/framework": "^10.10.1|^11.0", + "laravel/prompts": "^0.1.24", "laravel/serializable-closure": "^1.3.0", "nesbot/carbon": "^2.66.0|^3.0", "php": "^8.1.0", @@ -4196,7 +4197,7 @@ "issues": "https://github.com/laravel/octane/issues", "source": "https://github.com/laravel/octane" }, - "time": "2024-05-31T19:17:54+00:00" + "time": "2024-06-24T08:06:44+00:00" }, { "name": "laravel/prompts", @@ -8982,16 +8983,16 @@ }, { "name": "spatie/laravel-data", - "version": "4.7.0", + "version": "4.7.1", "source": { "type": "git", "url": "https://github.com/spatie/laravel-data.git", - "reference": "92af136b14f57c72b1b8e36cd5f7e274fb56385a" + "reference": "b7e10d345c059ff1de04168ec1d75b65157ac5a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-data/zipball/92af136b14f57c72b1b8e36cd5f7e274fb56385a", - "reference": "92af136b14f57c72b1b8e36cd5f7e274fb56385a", + "url": "https://api.github.com/repos/spatie/laravel-data/zipball/b7e10d345c059ff1de04168ec1d75b65157ac5a1", + "reference": "b7e10d345c059ff1de04168ec1d75b65157ac5a1", "shasum": "" }, "require": { @@ -9054,7 +9055,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-data/issues", - "source": "https://github.com/spatie/laravel-data/tree/4.7.0" + "source": "https://github.com/spatie/laravel-data/tree/4.7.1" }, "funding": [ { @@ -9062,7 +9063,7 @@ "type": "github" } ], - "time": "2024-06-13T12:07:24+00:00" + "time": "2024-06-25T11:01:36+00:00" }, { "name": "spatie/laravel-google-cloud-storage", diff --git a/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php b/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php index 7d690a232..6486d1e2d 100644 --- a/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php +++ b/src/Domains/Connectors/Zoho/Actions/SyncZohoLeadAction.php @@ -71,7 +71,7 @@ public function execute(): ?Lead default => LeadStatus::getByName('active'), }; - $user = UsersAssociatedApps::fromApp($this->app)->where('email', $zohoLead->Owner['email'])->first(); + $user = UsersAssociatedApps::fromApp($this->app)->where('email', $zohoLead->Owner['email'])->first()?->user; if (! $localLead) { //create lead diff --git a/src/Domains/Inventory/Variants/Models/Variants.php b/src/Domains/Inventory/Variants/Models/Variants.php index f9781a01c..ceb044d5e 100644 --- a/src/Domains/Inventory/Variants/Models/Variants.php +++ b/src/Domains/Inventory/Variants/Models/Variants.php @@ -297,7 +297,7 @@ public function toSearchableArray(): array $attributes = $this->attributes()->get(); foreach ($attributes as $attribute) { //if its over 100 characters we dont want to index it - if (strlen($attribute->value) > 100) { + if (strlen((string) $attribute->value) > 100) { continue; } $variant['attributes'][$attribute->name] = $attribute->value;