@@ -60,7 +60,7 @@ public function sendEvent(Event $event): void
60
60
61
61
$ request = $ requestFactory ->createRequest (
62
62
'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 ),
64
64
)
65
65
->withHeader ('Content-Type ' , 'application/x-www-form-urlencoded ' )
66
66
->withHeader ('Accept ' , 'application/json ' )
@@ -80,7 +80,7 @@ private function getHttpClient(): HttpClientInterface
80
80
if (!class_exists (Curl::class)) {
81
81
throw ClientException::missingDependency (
82
82
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() ' ),
84
84
);
85
85
}
86
86
@@ -101,7 +101,7 @@ private function getRequestFactory(): RequestFactoryInterface
101
101
if (!class_exists (Psr17Factory::class)) {
102
102
throw ClientException::missingDependency (
103
103
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() ' ),
105
105
);
106
106
}
107
107
@@ -122,7 +122,7 @@ private function getResponseFactory(): ResponseFactoryInterface
122
122
if (!class_exists (Psr17Factory::class)) {
123
123
throw ClientException::missingDependency (
124
124
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() ' ),
126
126
);
127
127
}
128
128
@@ -143,7 +143,7 @@ private function getStreamFactory(): StreamFactoryInterface
143
143
if (!class_exists (Psr17Factory::class)) {
144
144
throw ClientException::missingDependency (
145
145
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() ' ),
147
147
);
148
148
}
149
149
0 commit comments