Skip to content

Commit

Permalink
Update licence year and version
Browse files Browse the repository at this point in the history
  • Loading branch information
cboden committed Dec 10, 2021
1 parent 65874e5 commit af70198
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2021 Chris Boden
Copyright (c) 2014 Chris Boden

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion src/Connector.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ protected function generateRequest($url, array $subProtocols, array $headers) {

$uri = $uri->withScheme('wss' === $scheme ? 'HTTPS' : 'HTTP');

$headers += ['User-Agent' => 'Ratchet-Pawl/0.4'];
$headers += ['User-Agent' => 'Ratchet-Pawl/0.4.1'];

$request = array_reduce(array_keys($headers), function(RequestInterface $request, $header) use ($headers) {
return $request->withHeader($header, $headers[$header]);
Expand Down

0 comments on commit af70198

Please sign in to comment.