Skip to content

Commit ef85081

Browse files
committed
fix typo
1 parent b2702e6 commit ef85081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ protected function headers() {
119119
// X-GitHub-Event: push
120120
// X-Hub-Signature: sha1=98185ffa2c4684c9a1324c57086709acca9dddc7
121121
foreach ( $headers as $name => $value ) {
122-
$this->headers[ str_replace( ' ', '-', ucwords( strtolower( str_replace( '_', ' ', $name ) ) ) ) ] = $value;
122+
$this->headers[ str_replace( ' ', '-', ucwords( strtolower( str_replace( '-', ' ', $name ) ) ) ) ] = $value;
123123
}
124124
} else {
125125
/**

0 commit comments

Comments
 (0)