Convert escapers to singletons (#239)
This commit is contained in:
1 parent
efebfb2bc2
commit
1d3a9f939c
15 files changed
+64
-14
No files matched your search
@@ -48,7 +48,7 @@ class CellValueFormatter
|
||||
$this->shouldFormatDates = $shouldFormatDates;
|
||||
|
||||
/** @noinspection PhpUnnecessaryFullyQualifiedNameInspection */
|
||||
$this->escaper = new \Box\Spout\Common\Escaper\ODS();
|
||||
$this->escaper = \Box\Spout\Common\Escaper\ODS::getInstance();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user