Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
23 | 20 | public function __construct() |
|
24 | { |
||
25 | /** |
||
26 | * Ensure this instance won't match any other token instance when serialized ($priority isn't enough, as the |
||
27 | * serialization just checks for its value without calling getPriority()). |
||
28 | * |
||
29 | * @see ObjectProphecy::__call() |
||
30 | */ |
||
31 | 20 | $this->salt = rand(); |
|
32 | } |
||
33 | |||
64 |