PHPCS Resolutions

This commit is contained in:
MarkBaker 2021-01-28 15:18:41 +01:00
parent e7bbc515da
commit e1ed52ecb6
1 changed files with 1 additions and 5 deletions

View File

@ -2697,10 +2697,8 @@ class Calculation
*
* @param ?Spreadsheet $spreadsheet Injected spreadsheet for working with a PhpSpreadsheet Spreadsheet object,
* or NULL to create a standalone claculation engine
*
* @return Calculation
*/
public static function getInstance(?Spreadsheet $spreadsheet = null): Calculation
public static function getInstance(?Spreadsheet $spreadsheet = null): self
{
if ($spreadsheet !== null) {
$instance = $spreadsheet->getCalculationEngine();
@ -2738,8 +2736,6 @@ class Calculation
/**
* __clone implementation. Cloning should not be allowed in a Singleton!
*
* @throws Exception
*/
final public function __clone()
{