mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Require phpstan and correct issues found up to level 2
* issues found by phpstan L0 * issues found by phpstan L1 * issues found by phpstan L2 in src/ * issues found by phpstan L2 in tests/
This commit is contained in:
@@ -26,8 +26,8 @@ class OpenSslGeneratorTest extends TestCase
|
||||
* @dataProvider lengthAndHexDataProvider
|
||||
* @runInSeparateProcess
|
||||
* @preserveGlobalState disabled
|
||||
* @param $length
|
||||
* @param $hex
|
||||
* @param int $length
|
||||
* @param string $hex
|
||||
*/
|
||||
public function testGenerateUsesOpenSsl($length, $hex)
|
||||
{
|
||||
@@ -43,8 +43,8 @@ class OpenSslGeneratorTest extends TestCase
|
||||
* @dataProvider lengthAndHexDataProvider
|
||||
* @runInSeparateProcess
|
||||
* @preserveGlobalState disabled
|
||||
* @param $length
|
||||
* @param $hex
|
||||
* @param int $length
|
||||
* @param string $hex
|
||||
*/
|
||||
public function testGenerateReturnsRandomBytes($length, $hex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user