diff options
Diffstat (limited to 'apps/admin_audit/lib/Actions/Trashbin.php')
-rw-r--r-- | apps/admin_audit/lib/Actions/Trashbin.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/admin_audit/lib/Actions/Trashbin.php b/apps/admin_audit/lib/Actions/Trashbin.php index c2b88589ab8..1ea2e696288 100644 --- a/apps/admin_audit/lib/Actions/Trashbin.php +++ b/apps/admin_audit/lib/Actions/Trashbin.php @@ -1,4 +1,5 @@ <?php +declare(strict_types=1); /** * @copyright Copyright (c) 2016 Bjoern Schiessle <bjoern@schiessle.org> * @@ -27,13 +28,13 @@ namespace OCA\AdminAudit\Actions; class Trashbin extends Action { - public function delete($params) { + public function delete(array $params) { $this->log('File "%s" deleted from trash bin.', ['path' => $params['path']], ['path'] ); } - public function restore($params) { + public function restore(array $params) { $this->log('File "%s" restored from trash bin.', ['path' => $params['filePath']], ['path'] ); |