summaryrefslogtreecommitdiffstats
path: root/lib/public/Log
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-05-19 15:46:01 +0200
committerdartcafe <github@dartcafe.de>2021-05-19 15:46:01 +0200
commit40929cba799944257e1980038afea6bd176b0c6c (patch)
treedc7f738bf16a2fc33c89e939013f1756a153d73e /lib/public/Log
parent7c77e7431478ac67be34eec6dd10325233a2f64e (diff)
downloadnextcloud-server-40929cba799944257e1980038afea6bd176b0c6c.tar.gz
nextcloud-server-40929cba799944257e1980038afea6bd176b0c6c.zip
typo
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'lib/public/Log')
-rw-r--r--lib/public/Log/RotationTrait.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Log/RotationTrait.php b/lib/public/Log/RotationTrait.php
index 6c6ea955f03..9766c1228b3 100644
--- a/lib/public/Log/RotationTrait.php
+++ b/lib/public/Log/RotationTrait.php
@@ -58,7 +58,7 @@ trait RotationTrait {
* @since 14.0.0
*/
protected function shouldRotateBySize():bool {
- if ((int)$this->maxSize > 0 && file_exist($this->filePath)) {
+ if ((int)$this->maxSize > 0 && file_exists($this->filePath)) {
$filesize = @filesize($this->filePath);
if ($filesize >= (int)$this->maxSize) {
return true;