]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Util/StringsTest.php
Add more special chars at tests
[friendica.git] / tests / src / Util / StringsTest.php
index 67a8aa259c7969ab50c8cbc7d887d0ea747fe8a7..ae17920e0408be9452240fc6de01bea85c4e59c2 100644 (file)
@@ -1,6 +1,6 @@
 <?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
  *
@@ -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));
        }