diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-10 21:40:19 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-03-10 21:40:19 +0300 |
commit | 4d5830c4aaac0b7cdd7f7f00e12703f66d087d9d (patch) | |
tree | 08fd49d2b575fb03122a1cbd95789abe0e1e3f41 /apps/admin_audit/lib/Actions/Action.php | |
parent | f08bc1bc6fb16d2c199c20109f9501aef14e2511 (diff) |
Make admin_audit strict
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
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) { |