Phan and phpstan fixes
Note that ACL\Login FIXME will be fixed later do not change any current functionality
This commit is contained in:
1 parent
38903020fb
commit
105e0d69a1
7 files changed
+29
-16
No files matched your search
@@ -128,7 +128,8 @@ class DateTime
|
||||
$timestamp .= '.' . $matches[10];
|
||||
}
|
||||
if ($negative) {
|
||||
$timestamp *= -1;
|
||||
// cast to flaot so we can do a negative multiplication
|
||||
$timestamp = (float)$timestamp * -1;
|
||||
}
|
||||
return $timestamp;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user