mirror of
https://github.com/Karaka-Management/Resources.git
synced 2026-01-18 16:08:39 +00:00
13 lines
341 B
PHP
13 lines
341 B
PHP
<?php
|
|
|
|
namespace PhpOffice\PhpSpreadsheet\Style\NumberFormat;
|
|
|
|
abstract class BaseFormatter
|
|
{
|
|
protected static function stripQuotes(string $format): string
|
|
{
|
|
// Some non-number strings are quoted, so we'll get rid of the quotes, likewise any positional * symbols
|
|
return \str_replace(['"', '*'], '', $format);
|
|
}
|
|
}
|