Completed
Pull Request — master (#54)
by Jakub
05:19
created
controller/admin_controller.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -51,19 +51,19 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
controller/admin_input.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
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
 	{
@@ -253,6 +253,10 @@  discard block
 block discarded – undo
253 253
 		}
254 254
 	}
255 255
 
256
+	/**
257
+	 * @param boolean $success
258
+	 * @param string $text
259
+	 */
256 260
 	protected function send_ajax_response($success, $text)
257 261
 	{
258 262
 		$json_response = new \phpbb\json_response;
Please login to merge, or discard this patch.