- dumped default value for $input
- added unknown 'platform' which prevents an "Undefined index: platform in
  /var/www/.../src/Model/GServer.php on line 940" error
This commit is contained in:
Roland Häder 2022-06-20 18:55:17 +02:00
parent e5cc7a5ab1
commit e96a548286
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77
2 changed files with 8 additions and 5 deletions

View file

@ -119,12 +119,12 @@ class StringsTest extends TestCase
/**
* Tests if the string is a valid hexadecimal value
*
* @param string $input
* @param bool $valid
* @param string $input Input string
* @param bool $valid Whether testing on valid or invalid
*
* @dataProvider dataIsHex
*/
public function testIsHex(string $input = '', bool $valid = false)
public function testIsHex(string $input, bool $valid = false)
{
self::assertEquals($valid, Strings::isHex($input));
}