diff options
author | Bruce Wells <brucekwells@gmail.com> | 2023-08-18 19:11:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-18 19:11:23 +0300 |
commit | 1968057f42210e3f5675d46126a1dc6506616ef3 (patch) | |
tree | 322d148ff35a38737692c2cc75a4414196b15d2b /tests | |
parent | ad839b7858d31f4025598193b15ac422f11203d2 (diff) |
Phpcs fixer (#129)
* PHPCSFixer V3.23
* Run PHPCSFixer
Diffstat (limited to 'tests')
-rw-r--r-- | tests/MathTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/MathTest.php b/tests/MathTest.php index 573b634..8c22224 100644 --- a/tests/MathTest.php +++ b/tests/MathTest.php @@ -1018,6 +1018,7 @@ class MathTest extends TestCase if (\is_scalar($variable) || null === $variable) { return; } + // Allow variables of type DateTime, but not others if (! $variable instanceof \DateTime) { throw new MathExecutorException('Invalid variable type'); |