From: Matthias Schmidt Date: Fri, 10 Jun 2016 15:51:56 +0000 (+0200) Subject: Use short array syntax X-Git-Tag: 3.0.0_Beta_1~1460^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3de61e62cb7d7167519e74fa0f8235b8545b2fca;p=GitHub%2FWoltLab%2FWCF.git Use short array syntax --- 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; }