mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/16955] Fix phpdoc annotations and return types
PHPBB3-16955
This commit is contained in:
@@ -100,7 +100,7 @@ class plupload
|
||||
// and handle the file as usual
|
||||
if ($chunks_expected < 2)
|
||||
{
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
|
||||
$file_name = $this->request->variable('name', '');
|
||||
@@ -150,7 +150,7 @@ class plupload
|
||||
* @param int $forum_id The ID of the forum
|
||||
* @param int $max_files Maximum number of files allowed. 0 for unlimited.
|
||||
*
|
||||
* @return null
|
||||
* @return void
|
||||
*/
|
||||
public function configure(\phpbb\cache\service $cache, \phpbb\template\template $template, $s_action, $forum_id, $max_files)
|
||||
{
|
||||
@@ -200,7 +200,7 @@ class plupload
|
||||
* @param int $code The error code
|
||||
* @param string $msg The translation string of the message to be sent
|
||||
*
|
||||
* @return null
|
||||
* @return void
|
||||
*/
|
||||
public function emit_error($code, $msg)
|
||||
{
|
||||
@@ -331,7 +331,7 @@ class plupload
|
||||
* @param int $chunk Chunk number
|
||||
* @param string $file_path File path
|
||||
*
|
||||
* @return null
|
||||
* @return void
|
||||
*/
|
||||
protected function integrate_uploaded_file($form_name, $chunk, $file_path)
|
||||
{
|
||||
@@ -378,7 +378,7 @@ class plupload
|
||||
/**
|
||||
* Creates the temporary directory if it does not already exist.
|
||||
*
|
||||
* @return null
|
||||
* @return void
|
||||
*/
|
||||
protected function prepare_temporary_directory()
|
||||
{
|
||||
@@ -396,7 +396,7 @@ class plupload
|
||||
/**
|
||||
* Sets the default directories for uploads
|
||||
*
|
||||
* @return null
|
||||
* @return void
|
||||
*/
|
||||
protected function set_default_directories()
|
||||
{
|
||||
@@ -410,7 +410,7 @@ class plupload
|
||||
* @param string $upload_directory Upload directory
|
||||
* @param string $temporary_directory Temporary directory
|
||||
*
|
||||
* @return null
|
||||
* @return void
|
||||
*/
|
||||
public function set_upload_directories($upload_directory, $temporary_directory)
|
||||
{
|
||||
|
Reference in New Issue
Block a user