Fix 2 phpstan errors in libraries/classes/Import.php
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
785da3b04c
commit
13b699e04a
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user