Skip to content

Commit fce26e4

Browse files
committed
Cleanup
1 parent 0181157 commit fce26e4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/Assert.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,17 @@
1616
use function array_unshift;
1717
use function call_user_func_array;
1818
use function end;
19+
use function is_array;
20+
use function is_callable;
1921
use function is_object;
2022
use function is_resource;
2123
use function is_string;
2224
use function is_subclass_of;
2325
use function lcfirst;
2426
use function method_exists;
2527
use function preg_match; // Requires ext-pcre
28+
use function reset;
29+
use function sprintf;
2630
use function strval;
2731

2832
/**
@@ -389,7 +393,6 @@ public static function __callStatic(string $name, array $arguments): void
389393
*
390394
* @param callable $method
391395
* @param mixed[] $arguments
392-
* @return void
393396
*/
394397
private static function nullOr(callable $method, array $arguments): void
395398
{
@@ -403,7 +406,6 @@ private static function nullOr(callable $method, array $arguments): void
403406
*
404407
* @param callable $method
405408
* @param mixed[] $arguments
406-
* @return void
407409
*/
408410
private static function all(callable $method, array $arguments): void
409411
{

src/Base64Trait.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
*/
1717
trait Base64Trait
1818
{
19-
/** @var string */
2019
private static string $base64_regex = '/^(?:[a-z0-9+\/]{4})*(?:[a-z0-9+\/]{2}==|[a-z0-9+\/]{3}=)?$/i';
2120

2221

0 commit comments

Comments
 (0)