From 944d5f1f8874f707c10c0a2ba0fbd818c087719c Mon Sep 17 00:00:00 2001 From: Thilina Date: Sun, 27 Jun 2021 17:49:24 +0200 Subject: [PATCH] Fix code style issue --- core/src/Documents/Admin/Api/DocumentTaskCreator.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/Documents/Admin/Api/DocumentTaskCreator.php b/core/src/Documents/Admin/Api/DocumentTaskCreator.php index 0a7724b6..e91ca99e 100644 --- a/core/src/Documents/Admin/Api/DocumentTaskCreator.php +++ b/core/src/Documents/Admin/Api/DocumentTaskCreator.php @@ -45,8 +45,9 @@ class DocumentTaskCreator implements TaskCreator return 0; } - $query - = "select count(id) as c from EmployeeDocuments where employee = ? and valid_until < ? and visible_to = ?"; + $query = "select count(id) as c + from EmployeeDocuments + where employee = ? and valid_until < ? and visible_to = ?"; $user->DB()->SetFetchMode(ADODB_FETCH_ASSOC); // TODO - sending notifications only for Owner documents, this need to be extended later