@@ -81,7 +81,7 @@ |
||
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | 83 | * @param array $settings |
| 84 | - * @return string[] |
|
| 84 | + * @return string[] |
|
| 85 | 85 | */ |
| 86 | 86 | private function get_bookmarks(array $settings) |
| 87 | 87 | { |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | * @param \phpbb\db\driver\driver_interface $db Database connection |
| 40 | 40 | * @param string $phpbb_root_path phpBB root path |
| 41 | 41 | * @param string $php_ext phpEx |
| 42 | - * @param integer $cache_time Cache results for given time |
|
| 42 | + * @param integer $cache_time Cache results for given time |
|
| 43 | 43 | */ |
| 44 | 44 | public function __construct(\phpbb\auth\auth $auth, \phpbb\content_visibility $content_visibility, \phpbb\db\driver\driver_interface $db, $phpbb_root_path, $php_ext, $cache_time) |
| 45 | 45 | { |
@@ -211,10 +211,10 @@ |
||
| 211 | 211 | return $truncateService->truncate($row['post_text'], $this->settings['preview_chars']); |
| 212 | 212 | } |
| 213 | 213 | |
| 214 | - /** |
|
| 215 | - * @param array $row |
|
| 216 | - * @return string |
|
| 217 | - */ |
|
| 214 | + /** |
|
| 215 | + * @param array $row |
|
| 216 | + * @return string |
|
| 217 | + */ |
|
| 218 | 218 | protected function get_tooltip_text(array $row) |
| 219 | 219 | { |
| 220 | 220 | strip_bbcode($row['post_text'], $row['bbcode_uid']); |
@@ -34,8 +34,8 @@ |
||
| 34 | 34 | 'item_target' => $this->request->variable('item_target', 0), |
| 35 | 35 | )); |
| 36 | 36 | |
| 37 | - /** @var \blitze\sitemaker\model\entity\item $entity */ |
|
| 38 | - $entity = $items_mapper->save($entity); |
|
| 37 | + /** @var \blitze\sitemaker\model\entity\item $entity */ |
|
| 38 | + $entity = $items_mapper->save($entity); |
|
| 39 | 39 | |
| 40 | 40 | return $entity->to_array(); |
| 41 | 41 | } |
@@ -72,13 +72,13 @@ |
||
| 72 | 72 | return $total_topics; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | - /** |
|
| 76 | - * Get topic data |
|
| 77 | - * |
|
| 78 | - * @param bool|false|int $limit |
|
| 79 | - * @param int $start |
|
| 80 | - * @return array |
|
| 81 | - */ |
|
| 75 | + /** |
|
| 76 | + * Get topic data |
|
| 77 | + * |
|
| 78 | + * @param bool|false|int $limit |
|
| 79 | + * @param int $start |
|
| 80 | + * @return array |
|
| 81 | + */ |
|
| 82 | 82 | public function get_topic_data($limit = false, $start = 0) |
| 83 | 83 | { |
| 84 | 84 | // Topics table need to be the last in the chain |
@@ -57,13 +57,13 @@ |
||
| 57 | 57 | $this->ex_fid_ary = array_unique(array_keys($this->auth->acl_getf('!f_read', true))); |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | - /** |
|
| 61 | - * Begin query |
|
| 62 | - * |
|
| 63 | - * @param bool $track_topics |
|
| 64 | - * @param bool $add_forum_data |
|
| 65 | - * @return $this |
|
| 66 | - */ |
|
| 60 | + /** |
|
| 61 | + * Begin query |
|
| 62 | + * |
|
| 63 | + * @param bool $track_topics |
|
| 64 | + * @param bool $add_forum_data |
|
| 65 | + * @return $this |
|
| 66 | + */ |
|
| 67 | 67 | public function query($track_topics = true, $add_forum_data = true) |
| 68 | 68 | { |
| 69 | 69 | $this->_reset(); |
@@ -30,15 +30,15 @@ |
||
| 30 | 30 | 'style' => $style_id, |
| 31 | 31 | ); |
| 32 | 32 | |
| 33 | - /** @var \blitze\sitemaker\model\entity\route $entity */ |
|
| 34 | - $route_entity = $this->force_get_route($route_data, true); |
|
| 33 | + /** @var \blitze\sitemaker\model\entity\route $entity */ |
|
| 34 | + $route_entity = $this->force_get_route($route_data, true); |
|
| 35 | 35 | |
| 36 | 36 | $default_settings = $block_instance->get_config(array()); |
| 37 | 37 | $block_settings = $this->blocks->sync_settings($default_settings); |
| 38 | 38 | |
| 39 | 39 | $block_mapper = $this->mapper_factory->create('blocks'); |
| 40 | 40 | |
| 41 | - $entity = $block_mapper->create_entity(array( |
|
| 41 | + $entity = $block_mapper->create_entity(array( |
|
| 42 | 42 | 'name' => $name, |
| 43 | 43 | 'weight' => $this->request->variable('weight', 0), |
| 44 | 44 | 'position' => $this->request->variable('position', ''), |
@@ -24,14 +24,14 @@ |
||
| 24 | 24 | $this->translator = $translator; |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | - /** |
|
| 28 | - * Used to add a select drop down in blocks config |
|
| 29 | - * |
|
| 30 | - * @param array $option_ary |
|
| 31 | - * @param string $selected_item |
|
| 32 | - * @param string $key |
|
| 33 | - * @return string |
|
| 34 | - */ |
|
| 27 | + /** |
|
| 28 | + * Used to add a select drop down in blocks config |
|
| 29 | + * |
|
| 30 | + * @param array $option_ary |
|
| 31 | + * @param string $selected_item |
|
| 32 | + * @param string $key |
|
| 33 | + * @return string |
|
| 34 | + */ |
|
| 35 | 35 | public function build_select($option_ary, $selected_item, $key) |
| 36 | 36 | { |
| 37 | 37 | $html = '<select id="' . $key . '" name="config[' . $key . ']">'; |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | * @param array $db_data |
| 105 | 105 | * @param array $users_groups |
| 106 | 106 | * @param int $index |
| 107 | - * @return string[] |
|
| 107 | + * @return string[] |
|
| 108 | 108 | */ |
| 109 | 109 | public function render(array $display_modes, $edit_mode, array $db_data, array $users_groups, $index) |
| 110 | 110 | { |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | * @param array $users_groups |
| 148 | 148 | * @param array $display_modes |
| 149 | 149 | * @param bool $edit_mode |
| 150 | - * @return array[] |
|
| 150 | + * @return array[] |
|
| 151 | 151 | */ |
| 152 | 152 | protected function show_position($position, array $blocks, array $ex_positions, array $users_groups, $display_modes, $edit_mode) |
| 153 | 153 | { |