From 072162794346b1539dff58e4e3a3ef1bc8c18dc7 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Wed, 3 Oct 2018 20:26:00 +0200 Subject: Make code strict Signed-off-by: Daniel Kesselberg --- apps/workflowengine/lib/Check/FileName.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/workflowengine/lib/Check') diff --git a/apps/workflowengine/lib/Check/FileName.php b/apps/workflowengine/lib/Check/FileName.php index 2d8cf9ca91c..e1e2c5f0f2a 100644 --- a/apps/workflowengine/lib/Check/FileName.php +++ b/apps/workflowengine/lib/Check/FileName.php @@ -1,4 +1,5 @@ * @@ -59,7 +60,7 @@ class FileName extends AbstractStringCheck { /** * @return string */ - protected function getActualValue() { + protected function getActualValue(): string { return mb_strtolower(basename($this->path)); } @@ -68,7 +69,7 @@ class FileName extends AbstractStringCheck { * @param string $value * @return bool */ - public function executeCheck($operator, $value) { + public function executeCheck($operator, $value): bool { return parent::executeCheck($operator, mb_strtolower($value)); } } -- cgit v1.2.3