@@ -89,7 +89,7 @@ |
||
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; |
@@ -121,7 +121,7 @@ |
||
121 | 121 | * Upload image and return updated ad code or <img> of new banner when using ajax. |
122 | 122 | * |
123 | 123 | * @param string $ad_code Current ad code |
124 | - * @return mixed \phpbb\json_response when request is ajax or updated ad code otherwise. |
|
124 | + * @return string \phpbb\json_response when request is ajax or updated ad code otherwise. |
|
125 | 125 | */ |
126 | 126 | public function process_banner_upload($ad_code) |
127 | 127 | { |