summaryrefslogtreecommitdiffstats
path: root/Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php')
-rw-r--r--Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php b/Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php
index 4fb0c99..1b325e5 100644
--- a/Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php
+++ b/Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php
@@ -21,7 +21,8 @@ class UriSafeTokenGeneratorTest extends \PHPUnit_Framework_TestCase
const ENTROPY = 1000;
/**
- * A non alpha-numeric byte string
+ * A non alpha-numeric byte string.
+ *
* @var string
*/
private static $bytes;
@@ -57,7 +58,7 @@ class UriSafeTokenGeneratorTest extends \PHPUnit_Framework_TestCase
{
$this->random->expects($this->once())
->method('nextBytes')
- ->with(self::ENTROPY/8)
+ ->with(self::ENTROPY / 8)
->will($this->returnValue(self::$bytes));
$token = $this->generator->generateToken();