Skip to content

Commit

Permalink
Bump minimum dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jyggen committed Jun 19, 2018
1 parent 235b9e5 commit 746dd02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ use Boo\Radius\Client;
use Boo\Radius\Packet;
use Boo\Radius\PacketType;

$client = new Client('udp://127.0.0.1:1812', 2);
$response = $client->send(new Packet(PacketType::ACCESS_REQUEST(), 'xyzzy5461', [
$client = new Client('udp://127.0.0.1:1812', /* timeout */ 2);
$response = $client->send(new Packet(PacketType::ACCESS_REQUEST(), /* secret */ 'xyzzy5461', [
'User-Name' => 'nemo',
'User-Password' => 'arctangent',
]));
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"php": ">=5.5",
"ext-sockets": "*",
"clue/socket-raw": "^1.3",
"marc-mabe/php-enum": "^2.0",
"marc-mabe/php-enum": "^2.3.1",
"paragonie/random_compat": "^2.0"
},
"require-dev": {
Expand Down

0 comments on commit 746dd02

Please sign in to comment.