@@ -113,7 +113,7 @@ |
||
| 113 | 113 | * Upload image and return updated ad code or <img> of new banner when using ajax. |
| 114 | 114 | * |
| 115 | 115 | * @param string $ad_code Current ad code |
| 116 | - * @return mixed \phpbb\json_response when request is ajax or updated ad code otherwise. |
|
| 116 | + * @return string \phpbb\json_response when request is ajax or updated ad code otherwise. |
|
| 117 | 117 | */ |
| 118 | 118 | public function banner_upload($ad_code) |
| 119 | 119 | { |
@@ -51,19 +51,19 @@ |
||
| 51 | 51 | protected $u_action; |
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | - * Constructor |
|
| 55 | - * |
|
| 56 | - * @param \phpbb\template\template $template Template object |
|
| 57 | - * @param \phpbb\user $user User object |
|
| 58 | - * @param \phpbb\request\request $request Request object |
|
| 59 | - * @param \phpbb\ads\ad\manager $manager Advertisement manager object |
|
| 60 | - * @param \phpbb\config\db_text $config_text Config text object |
|
| 61 | - * @param \phpbb\config\config $config Config object |
|
| 62 | - * @param \phpbb\ads\controller\admin_input $input Admin input object |
|
| 63 | - * @param \phpbb\ads\controller\admin_helper $helper Admin helper object |
|
| 64 | - * @param string $root_path phpBB root path |
|
| 65 | - * @param string $php_ext PHP extension |
|
| 66 | - */ |
|
| 54 | + * Constructor |
|
| 55 | + * |
|
| 56 | + * @param \phpbb\template\template $template Template object |
|
| 57 | + * @param \phpbb\user $user User object |
|
| 58 | + * @param \phpbb\request\request $request Request object |
|
| 59 | + * @param \phpbb\ads\ad\manager $manager Advertisement manager object |
|
| 60 | + * @param \phpbb\config\db_text $config_text Config text object |
|
| 61 | + * @param \phpbb\config\config $config Config object |
|
| 62 | + * @param \phpbb\ads\controller\admin_input $input Admin input object |
|
| 63 | + * @param \phpbb\ads\controller\admin_helper $helper Admin helper object |
|
| 64 | + * @param string $root_path phpBB root path |
|
| 65 | + * @param string $php_ext PHP extension |
|
| 66 | + */ |
|
| 67 | 67 | public function __construct(\phpbb\template\template $template, \phpbb\user $user, \phpbb\request\request $request, \phpbb\ads\ad\manager $manager, \phpbb\config\db_text $config_text, \phpbb\config\config $config, \phpbb\ads\controller\admin_input $input, \phpbb\ads\controller\admin_helper $helper, $root_path, $php_ext) |
| 68 | 68 | { |
| 69 | 69 | $this->template = $template; |