Completed
Pull Request — master (#54)
by Jakub
09:22
created
controller/admin_input.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 	 * Upload image and return updated ad code or <img> of new banner when using ajax.
116 116
 	 *
117 117
 	 * @param	 string	 $ad_code	 Current ad code
118
-	 * @return	 mixed	 \phpbb\json_response when request is ajax or updated ad code otherwise.
118
+	 * @return	 string	 \phpbb\json_response when request is ajax or updated ad code otherwise.
119 119
 	 */
120 120
 	public function banner_upload($ad_code)
121 121
 	{
@@ -226,6 +226,9 @@  discard block
 block discarded – undo
226 226
 		return $ad_owner_id[0];
227 227
 	}
228 228
 
229
+	/**
230
+	 * @param boolean $success
231
+	 */
229 232
 	protected function send_ajax_response($success, $text)
230 233
 	{
231 234
 		$json_response = new \phpbb\json_response;
Please login to merge, or discard this patch.