Skip to content

Commit

Permalink
PHP 5.3 doesn't have syntactic sugar.
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-scott committed Feb 9, 2016
1 parent f277f8d commit 9e6fba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/RandomBytesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function testInvalidParams()
}

try {
$bytes = random_bytes([12]);
$bytes = random_bytes(array(12));
$this->fail("random_bytes() should accept only an integer");
} catch (TypeError $ex) {
$this->assertTrue(true);
Expand Down

0 comments on commit 9e6fba9

Please sign in to comment.