<?php
/**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
/**
* try to fail it with invalid input
*
- * @todo What's corect behaviour here? An exception?
+ * @todo What's correct behaviour here? An exception?
*/
public function testRandomNameNegativeLength()
{
/**
* 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));
}