From 3de61e62cb7d7167519e74fa0f8235b8545b2fca Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 10 Jun 2016 17:51:56 +0200 Subject: [PATCH] Use short array syntax --- wcfsetup/install/files/lib/system/poll/PollManager.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/poll/PollManager.class.php b/wcfsetup/install/files/lib/system/poll/PollManager.class.php index f6a13c5376..5a919076bd 100644 --- a/wcfsetup/install/files/lib/system/poll/PollManager.class.php +++ b/wcfsetup/install/files/lib/system/poll/PollManager.class.php @@ -158,9 +158,9 @@ class PollManager extends SingletonFactory { /** * Reads form parameters for polls. * - * @param array $postData optional post data to be used instead of $_POST + * @param array $postData optional post data to be used instead of $_POST */ - public function readFormParameters(array $postData = array()) { + public function readFormParameters(array $postData = []) { if (empty($postData)) { $postData =& $_POST; } -- 2.20.1