33namespace OhMyBrew \ShopifyApp \Services ;
44
55use Exception ;
6- use Illuminate \Support \Facades \URL ;
7- use OhMyBrew \ShopifyApp \Models \Shop ;
86use Illuminate \Support \Facades \Config ;
97use Illuminate \Support \Facades \Session ;
8+ use Illuminate \Support \Facades \URL ;
109use OhMyBrew \ShopifyApp \Facades \ShopifyApp ;
11- use OhMyBrew \ShopifyApp \Jobs \WebhookInstaller ;
1210use OhMyBrew \ShopifyApp \Jobs \ScripttagInstaller ;
11+ use OhMyBrew \ShopifyApp \Jobs \WebhookInstaller ;
12+ use OhMyBrew \ShopifyApp \Models \Shop ;
1313
1414/**
1515 * Responsible for handling how to authenticate a shop.
@@ -83,7 +83,7 @@ public function buildAuthUrl()
8383 *
8484 * @param array $request The request parameters.
8585 *
86- * @return boolean
86+ * @return bool
8787 */
8888 public function verifyRequest (array $ request )
8989 {
@@ -104,7 +104,7 @@ public function storeAccessToken(string $code)
104104 $ this ->shop ->restore ();
105105 $ this ->shop ->charges ()->restore ();
106106 }
107-
107+
108108 // Save the token to the shop
109109 $ this ->shop ->shopify_token = $ this ->api ->requestAccessToken ($ code );
110110 $ this ->shop ->save ();
@@ -113,7 +113,7 @@ public function storeAccessToken(string $code)
113113 /**
114114 * Dispatches the jobs that happen after authentication.
115115 *
116- * @return boolean
116+ * @return bool
117117 */
118118 public function dispatchJobs ()
119119 {
0 commit comments