Fix 2 phpstan errors in libraries/classes/Import.php

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2020-03-18 12:14:30 +01:00
parent 785da3b04c
commit 13b699e04a
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -847,8 +847,8 @@ class Import
}
if ($cell == (string) (float) $cell
&& mb_strpos($cell, '.') !== false
&& mb_substr_count($cell, '.') === 1
&& mb_strpos((string) $cell, '.') !== false
&& mb_substr_count((string) $cell, '.') === 1
) {
return self::DECIMAL;
}