From 9204d2d6b3aaedda92f0f3c150e582ccf41dd63a Mon Sep 17 00:00:00 2001 From: MarkBaker Date: Thu, 13 May 2021 15:30:53 +0200 Subject: [PATCH] Updates to ensure that we're using the correct Namespaced exception --- src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php | 2 +- src/PhpSpreadsheet/Calculation/MathTrig/Combinations.php | 2 +- src/PhpSpreadsheet/Calculation/MathTrig/Floor.php | 2 +- src/PhpSpreadsheet/Calculation/MathTrig/Logarithms.php | 2 +- src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php | 2 +- src/PhpSpreadsheet/Calculation/MathTrig/Random.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php b/src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php index bb6248ba..73f54a52 100644 --- a/src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php +++ b/src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php @@ -2,7 +2,7 @@ namespace PhpOffice\PhpSpreadsheet\Calculation\MathTrig; -use Exception; +use PhpOffice\PhpSpreadsheet\Calculation\Exception; use PhpOffice\PhpSpreadsheet\Calculation\Functions; class Ceiling diff --git a/src/PhpSpreadsheet/Calculation/MathTrig/Combinations.php b/src/PhpSpreadsheet/Calculation/MathTrig/Combinations.php index 2a0cbdfd..97508bb1 100644 --- a/src/PhpSpreadsheet/Calculation/MathTrig/Combinations.php +++ b/src/PhpSpreadsheet/Calculation/MathTrig/Combinations.php @@ -2,7 +2,7 @@ namespace PhpOffice\PhpSpreadsheet\Calculation\MathTrig; -use Exception; +use PhpOffice\PhpSpreadsheet\Calculation\Exception; class Combinations { diff --git a/src/PhpSpreadsheet/Calculation/MathTrig/Floor.php b/src/PhpSpreadsheet/Calculation/MathTrig/Floor.php index 4b84c24a..04e12205 100644 --- a/src/PhpSpreadsheet/Calculation/MathTrig/Floor.php +++ b/src/PhpSpreadsheet/Calculation/MathTrig/Floor.php @@ -2,7 +2,7 @@ namespace PhpOffice\PhpSpreadsheet\Calculation\MathTrig; -use Exception; +use PhpOffice\PhpSpreadsheet\Calculation\Exception; use PhpOffice\PhpSpreadsheet\Calculation\Functions; class Floor diff --git a/src/PhpSpreadsheet/Calculation/MathTrig/Logarithms.php b/src/PhpSpreadsheet/Calculation/MathTrig/Logarithms.php index 169a74b0..d6878d88 100644 --- a/src/PhpSpreadsheet/Calculation/MathTrig/Logarithms.php +++ b/src/PhpSpreadsheet/Calculation/MathTrig/Logarithms.php @@ -2,7 +2,7 @@ namespace PhpOffice\PhpSpreadsheet\Calculation\MathTrig; -use Exception; +use PhpOffice\PhpSpreadsheet\Calculation\Exception; class Logarithms { diff --git a/src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php b/src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php index 290700c6..1e3224ea 100644 --- a/src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php +++ b/src/PhpSpreadsheet/Calculation/MathTrig/MatrixFunctions.php @@ -2,10 +2,10 @@ namespace PhpOffice\PhpSpreadsheet\Calculation\MathTrig; -use Exception; use Matrix\Builder; use Matrix\Exception as MatrixException; use Matrix\Matrix; +use PhpOffice\PhpSpreadsheet\Calculation\Exception; use PhpOffice\PhpSpreadsheet\Calculation\Functions; class MatrixFunctions diff --git a/src/PhpSpreadsheet/Calculation/MathTrig/Random.php b/src/PhpSpreadsheet/Calculation/MathTrig/Random.php index 0c7acf91..963a789a 100644 --- a/src/PhpSpreadsheet/Calculation/MathTrig/Random.php +++ b/src/PhpSpreadsheet/Calculation/MathTrig/Random.php @@ -2,7 +2,7 @@ namespace PhpOffice\PhpSpreadsheet\Calculation\MathTrig; -use Exception; +use PhpOffice\PhpSpreadsheet\Calculation\Exception; class Random {