Skip to content

Commit 8a6a553

Browse files
committed
Style fix
1 parent a1527d5 commit 8a6a553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Github/Api/Repo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ public function readme($username, $repository, $format = 'raw')
289289
*/
290290
public function dispatch($username, $repository, $eventType, array $clientPayload)
291291
{
292-
return $this->post('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/dispatches', [
292+
return $this->post(\sprintf('/repos/%s/%s/dispatches', rawurlencode($username), rawurlencode($repository)), [
293293
'event_type' => $eventType,
294294
'client_payload' => $clientPayload,
295295
]);

0 commit comments

Comments
 (0)