fix phpstan (#30985)

* fix phpstan

* fix phpstan
This commit is contained in:
Frédéric FRANCE 2024-09-17 00:23:25 +02:00 committed by GitHub
parent e43789a3d7
commit 763405a34c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -7,6 +7,7 @@
* LESS CSS compiler, adapted from http://lesscss.org
*
* Copyright 2013, Leaf Corcoran <leafot@gmail.com>
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
* Licensed under MIT or GPLv3, see LICENSE
*/
@ -2202,7 +2203,7 @@ class Lessc
public function compile($string, $name = null)
{
$locale = setlocale(LC_NUMERIC, 0);
$locale = setlocale(LC_NUMERIC, '0');
setlocale(LC_NUMERIC, "C");
$this->parser = $this->makeParser($name);

View File

@ -118,7 +118,6 @@ parameters:
- '# ajax_constantonoff expects array, null given.#'
- '# ldap_search expects array\|LDAP#'
- '# ajax_combobox expects array#'
- '# setlocale expects array#'
- '# setEventMessages expects array#'
- '# Context::setError\(\) expects array, string#'
- '# Form::formconfirm\(\) expects array#'