From a7e734b700f3d82a198b2a3b6f411219feecfcb3 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Wed, 10 Sep 2025 18:58:04 +0200 Subject: [PATCH] Move named inner function out in po2php.php While PHP seems to be able to handle this construct, PHPStan don't. In this case there's also no reason for this to be an inner function, so just move it out to the global scope. --- util/po2php.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/util/po2php.php b/util/po2php.php index 535e5567c..508e1b776 100755 --- a/util/po2php.php +++ b/util/po2php.php @@ -1,5 +1,9 @@