Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
litefeel committed Mar 11, 2018
1 parent b2702e6 commit ef85081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/request.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected function headers() {
// X-GitHub-Event: push
// X-Hub-Signature: sha1=98185ffa2c4684c9a1324c57086709acca9dddc7
foreach ( $headers as $name => $value ) {
$this->headers[ str_replace( ' ', '-', ucwords( strtolower( str_replace( '_', ' ', $name ) ) ) ) ] = $value;
$this->headers[ str_replace( ' ', '-', ucwords( strtolower( str_replace( '-', ' ', $name ) ) ) ) ] = $value;
}
} else {
/**
Expand Down

0 comments on commit ef85081

Please sign in to comment.