aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruce Wells <brucekwells@gmail.com>2023-08-18 19:11:23 +0300
committerGitHub <noreply@github.com>2023-08-18 19:11:23 +0300
commit1968057f42210e3f5675d46126a1dc6506616ef3 (patch)
tree322d148ff35a38737692c2cc75a4414196b15d2b /tests
parentad839b7858d31f4025598193b15ac422f11203d2 (diff)
Phpcs fixer (#129)
* PHPCSFixer V3.23 * Run PHPCSFixer
Diffstat (limited to 'tests')
-rw-r--r--tests/MathTest.php1
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');