Parameter could be declared as array.

This commit is contained in:
Yuriy Pikhtarev 2017-05-09 23:02:09 +03:00
commit 72eb538a0a
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6

View file

@ -59,7 +59,7 @@ class upload_common
8 => 'tiff',
);
public function init($cfg = array(), $post_params = array(), $uploaded_only = true)
public function init(array $cfg = [], array $post_params = [], $uploaded_only = true)
{
global $bb_cfg, $lang;