Completed
Pull Request — master (#52)
by Jakub
09:16
created
ad/manager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
 		$this->db->sql_freeresult($result);
90 90
 
91 91
 		$current_location_id = '';
92
-		$data = array_filter($data, function($row) use (&$current_location_id) {
92
+		$data = array_filter($data, function ($row) use (&$current_location_id) {
93 93
 			$return = $current_location_id != $row['location_id'];
94 94
 			$current_location_id = $row['location_id'];
95 95
 			return $return;
Please login to merge, or discard this patch.
controller/admin_controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -473,7 +473,7 @@
 block discarded – undo
473 473
 	 * Upload image and return updated ad code or <img> of new banner when using ajax.
474 474
 	 *
475 475
 	 * @param	 string	 $ad_code	 Current ad code
476
-	 * @return	 mixed	 \phpbb\json_response when request is ajax or updated ad code otherwise.
476
+	 * @return	 string	 \phpbb\json_response when request is ajax or updated ad code otherwise.
477 477
 	 */
478 478
 	protected function process_banner_upload($ad_code)
479 479
 	{
Please login to merge, or discard this patch.