diff options
Diffstat (limited to 'apps/workflowengine/lib/Check/FileName.php')
-rw-r--r-- | apps/workflowengine/lib/Check/FileName.php | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ <?php +declare(strict_types=1); /** * @copyright Copyright (c) 2018 Daniel Kesselberg <mail@danielkesselberg.de> * @@ -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)); } } |