Skip to content

Commit

Permalink
Lint the file I touched
Browse files Browse the repository at this point in the history
  • Loading branch information
Mac User committed Nov 15, 2017
1 parent 60b2205 commit 970bd2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/HeadCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function onHeadFollows(MultiLineResponse $response)
$headers = [];
array_map(function ($line) use (&$headers) {
preg_match('/^([^\:]+)\:\s*(.*)$/', $line, $matches);
if(!empty($matches)) {
if (!empty($matches)) {
$headers[$matches[1]] = trim($matches[2]);
}
}, $response->getLines());
Expand Down

0 comments on commit 970bd2b

Please sign in to comment.