Skip to content

Commit

Permalink
Merge pull request #13 from nguyenanhung/v3.x
Browse files Browse the repository at this point in the history
Release v3.0.0
  • Loading branch information
nguyenanhung authored Jan 19, 2025
2 parents aa6e1af + afb5be1 commit 7b8e200
Show file tree
Hide file tree
Showing 3 changed files with 153 additions and 76 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}
],
"require": {
"php": ">=7.0",
"php": "^8.0",
"ext-curl": "*",
"ext-json": "*",
"ext-ctype": "*",
Expand All @@ -34,4 +34,4 @@
"helpers/helpers.php"
]
}
}
}
2 changes: 1 addition & 1 deletion helpers/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ function bear_framework_basic_clean_str($str = ''): string
}
}
if (!function_exists('bear_framework_entity_decode')) {
function bear_framework_entity_decode($str = '', $charset = null): string
function bear_framework_entity_decode($str = '', ?string $charset = null): string
{
$es = new nguyenanhung\Libraries\Escape\Escape();
return $es->entityDecode($str, $charset);
Expand Down
Loading

0 comments on commit 7b8e200

Please sign in to comment.