Skip to content

Commit f6b41c3

Browse files
LordSimalADmad
andauthored
Update src/View/Helper/CredentialsHelper.php
Co-authored-by: ADmad <[email protected]>
1 parent 74e524a commit f6b41c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/View/Helper/CredentialsHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function filter(mixed $in): mixed
5050
return $in;
5151
}
5252
preg_match_all($regexp, $in, $tokens);
53-
if (count($tokens[0]) === 0) {
53+
if ($tokens[0] === []) {
5454
return h($in);
5555
}
5656
$protocol = Hash::get($tokens, '1.0');

0 commit comments

Comments
 (0)