We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e7c981 commit d9eb61bCopy full SHA for d9eb61b
src/ShopifyApp/Jobs/WebhookInstaller.php
@@ -23,13 +23,6 @@ class WebhookInstaller implements ShouldQueue
23
*/
24
protected $shop;
25
26
- /**
27
- * Webhook manager.
28
- *
29
- * @var \OhMyBrew\ShopifyApp\Services\WebhookManager
30
- */
31
- protected $manager;
32
-
33
/**
34
* Create a new job instance.
35
*
@@ -40,7 +33,6 @@ class WebhookInstaller implements ShouldQueue
40
public function __construct($shop)
41
{
42
$this->shop = $shop;
43
- $this->manager = new WebhookManager($this->shop);
44
36
}
45
37
46
38
@@ -50,6 +42,6 @@ public function __construct($shop)
50
51
public function handle()
52
53
- return $this->manager->createWebhooks();
+ return (new WebhookManager($this->shop))->createWebhooks();
54
55
47
0 commit comments