Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Adjustment to job classes for loose checking in constructor #140

Merged
merged 2 commits into from
Nov 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/ShopifyApp/Jobs/ScripttagInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use OhMyBrew\ShopifyApp\Models\Shop;

class ScripttagInstaller implements ShouldQueue
{
Expand Down Expand Up @@ -35,7 +34,7 @@ class ScripttagInstaller implements ShouldQueue
*
* @return void
*/
public function __construct(Shop $shop, array $scripttags)
public function __construct($shop, array $scripttags)
{
$this->shop = $shop;
$this->scripttags = $scripttags;
Expand Down
3 changes: 1 addition & 2 deletions src/ShopifyApp/Jobs/WebhookInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use OhMyBrew\ShopifyApp\Models\Shop;

class WebhookInstaller implements ShouldQueue
{
Expand Down Expand Up @@ -35,7 +34,7 @@ class WebhookInstaller implements ShouldQueue
*
* @return void
*/
public function __construct(Shop $shop, array $webhooks)
public function __construct($shop, array $webhooks)
{
$this->shop = $shop;
$this->webhooks = $webhooks;
Expand Down