File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/PhpSpreadsheet/Calculation/TextData Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 55use PhpOffice \PhpSpreadsheet \Calculation \ArrayEnabled ;
66use PhpOffice \PhpSpreadsheet \Calculation \Calculation ;
77use PhpOffice \PhpSpreadsheet \Calculation \Functions ;
8+ use PhpOffice \PhpSpreadsheet \Calculation \Information \ErrorValue ;
89
910class Text
1011{
@@ -243,7 +244,7 @@ private static function formatValueMode0($cellValue): string
243244 */
244245 private static function formatValueMode1 ($ cellValue ): string
245246 {
246- if (is_string ($ cellValue ) && Functions ::isError ($ cellValue ) === false ) {
247+ if (is_string ($ cellValue ) && ErrorValue ::isError ($ cellValue ) === false ) {
247248 return Calculation::FORMULA_STRING_QUOTE . $ cellValue . Calculation::FORMULA_STRING_QUOTE ;
248249 } elseif (is_bool ($ cellValue )) {
249250 return ($ cellValue ) ? Calculation::$ localeBoolean ['TRUE ' ] : Calculation::$ localeBoolean ['FALSE ' ];
You can’t perform that action at this time.
0 commit comments