Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
typo
Signed-off-by: dartcafe <[email protected]>
  • Loading branch information
dartcafe authored and backportbot[bot] committed May 21, 2021
commit 36acbd9efb8a214f11bcbb6ef44d395d9c614481
2 changes: 1 addition & 1 deletion lib/public/Log/RotationTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected function rotate():string {
* @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;
Expand Down