@@ -60,7 +60,7 @@ public function sendEvent(Event $event): void
6060
6161 $ request = $ requestFactory ->createRequest (
6262 'POST ' ,
63- sprintf ('https://graph.facebook.com/%s/%s/events ' , self ::getEndpointVersion (), $ pixel ->id )
63+ sprintf ('https://graph.facebook.com/%s/%s/events ' , self ::getEndpointVersion (), $ pixel ->id ),
6464 )
6565 ->withHeader ('Content-Type ' , 'application/x-www-form-urlencoded ' )
6666 ->withHeader ('Accept ' , 'application/json ' )
@@ -80,7 +80,7 @@ private function getHttpClient(): HttpClientInterface
8080 if (!class_exists (Curl::class)) {
8181 throw ClientException::missingDependency (
8282 Curl::class,
83- sprintf ('Either set the http client with %s or run composer require kriswallsmith/buzz ' , self ::class . '::setHttpClient() ' )
83+ sprintf ('Either set the http client with %s or run composer require kriswallsmith/buzz ' , self ::class . '::setHttpClient() ' ),
8484 );
8585 }
8686
@@ -101,7 +101,7 @@ private function getRequestFactory(): RequestFactoryInterface
101101 if (!class_exists (Psr17Factory::class)) {
102102 throw ClientException::missingDependency (
103103 Psr17Factory::class,
104- sprintf ('Either set the request factory with %s or run composer require nyholm/psr7 ' , self ::class . '::setRequestFactory() ' )
104+ sprintf ('Either set the request factory with %s or run composer require nyholm/psr7 ' , self ::class . '::setRequestFactory() ' ),
105105 );
106106 }
107107
@@ -122,7 +122,7 @@ private function getResponseFactory(): ResponseFactoryInterface
122122 if (!class_exists (Psr17Factory::class)) {
123123 throw ClientException::missingDependency (
124124 Psr17Factory::class,
125- sprintf ('Either set the response factory with %s or run composer require nyholm/psr7 ' , self ::class . '::setResponseFactory() ' )
125+ sprintf ('Either set the response factory with %s or run composer require nyholm/psr7 ' , self ::class . '::setResponseFactory() ' ),
126126 );
127127 }
128128
@@ -143,7 +143,7 @@ private function getStreamFactory(): StreamFactoryInterface
143143 if (!class_exists (Psr17Factory::class)) {
144144 throw ClientException::missingDependency (
145145 Psr17Factory::class,
146- sprintf ('Either set the stream factory with %s or run composer require nyholm/psr7 ' , self ::class . '::setStreamFactory() ' )
146+ sprintf ('Either set the stream factory with %s or run composer require nyholm/psr7 ' , self ::class . '::setStreamFactory() ' ),
147147 );
148148 }
149149
0 commit comments