File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ protected function request(
172172 $ maxTries = $ tries ?? 1 ;
173173
174174 $ version = require dirname (__FILE__ ) . '/../version.php ' ;
175- $ userAgentParts = ["Shopify API Library for PHP v $ version " ];
175+ $ userAgentParts = ["Shopify Admin API Library for PHP v $ version " ];
176176
177177 if (Context::$ USER_AGENT_PREFIX ) {
178178 array_unshift ($ userAgentParts , Context::$ USER_AGENT_PREFIX );
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ protected function matches($other): bool
4747
4848 private function matchUserAgent (RequestInterface $ request ): bool
4949 {
50- return preg_match ($ this ->userAgent , $ request ->getHeaderLine ('user-agent ' )) !== false ;
50+ return preg_match ($ this ->userAgent , $ request ->getHeaderLine ('user-agent ' )) != false ;
5151 }
5252
5353 private function matchBody (): bool
You can’t perform that action at this time.
0 commit comments