@@ -6,7 +6,7 @@ php:
- 7.1
- 7.2
- 7.3
- - 7.4
+# - 7.4
addons:
chrome: stable
@@ -235,7 +235,7 @@ class Tools implements Renderable
return $value;
}
- return preg_replace_callback('/class=[\'|"]([a-z0-9A-Z-_\s]*)[\'|"]/', function (&$text) {
+ return preg_replace_callback('/class=[\'|"]([a-z0-9A-Z-_\s]*)[\'|"]/', function ($text) {
$class = array_filter(explode(' ', $text[1]));
if (
@@ -815,7 +815,7 @@ class Helper
public static function htmlEntityEncode($item)
{
if (is_array($item)) {
- array_walk_recursive($item, function (&$value) {
+ array_walk_recursive($item, function ($value) {
$value = htmlentities($value);
});
} else {