Skip to content

Commit

Permalink
Fix PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed May 22, 2024
1 parent dfea0a8 commit 53aa027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Utility/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ public function asciiToEntities($str) {
public function entitiesToAscii($str, $all = true) {
if (preg_match_all('/\&#(\d+)\;/', $str, $matches)) {
for ($i = 0, $s = count($matches['0']); $i < $s; $i++) {
$digits = $matches['1'][$i];
$digits = (int)$matches['1'][$i];

$out = '';

Expand Down

0 comments on commit 53aa027

Please sign in to comment.