Ran PHPCBF over code

phpcs-errors:0 phpunit-status:successful
This commit is contained in:
Joshua Ramon Enslin 2019-11-12 22:34:51 +01:00 committed by Stefan Rohde-Enslin
parent ace247fc35
commit 119c350db6

View File

@ -179,7 +179,7 @@ function transform(string $transform):string {
$transform = preg_replace('#é#', 'é', $transform);
$transform = preg_replace('#è#', 'è', $transform);
foreach (array("[", "]") as $toescape)
foreach (["[", "]"] as $toescape)
$transform = str_replace ($toescape, "$" . $toescape . "$", $transform);
$transform = html_entity_decode($transform, ENT_QUOTES, "utf-8" );