diff options
Diffstat (limited to 'apps/admin_audit/lib/Actions/Action.php')
-rw-r--r-- | apps/admin_audit/lib/Actions/Action.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/admin_audit/lib/Actions/Action.php b/apps/admin_audit/lib/Actions/Action.php index 9ca85363250..0961a609b8c 100644 --- a/apps/admin_audit/lib/Actions/Action.php +++ b/apps/admin_audit/lib/Actions/Action.php @@ -1,4 +1,5 @@ <?php +declare(strict_types=1); /** * @copyright Copyright (c) 2016 Lukas Reschke <lukas@statuscode.ch> * @@ -45,10 +46,10 @@ class Action { * @param array $elements * @param bool $obfuscateParameters */ - public function log($text, + public function log(string $text, array $params, array $elements, - $obfuscateParameters = false) { + bool $obfuscateParameters = false) { foreach($elements as $element) { if(!isset($params[$element])) { if ($obfuscateParameters) { |