Fix a lot of notices/warnings/deprecation notes in the test directory

This commit is contained in:
Philipp 2020-10-18 20:31:57 +02:00
parent efaec26b1d
commit d55ecb9288
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
77 changed files with 428 additions and 558 deletions

View file

@ -126,11 +126,11 @@ class StringsTest extends TestCase
* Tests if the string is a valid hexadecimal value
*
* @param string $input
* @param bool $valid
* @param bool $valid
*
* @dataProvider dataIsHex
*/
public function testIsHex($input, $valid)
public function testIsHex(string $input, bool $valid)
{
self::assertEquals($valid, Strings::isHex($input));
}