@@ -33,13 +33,13 @@ |
||
33 | 33 | protected $data = array(); |
34 | 34 | |
35 | 35 | /** |
36 | - * Construct |
|
37 | - * |
|
38 | - * @param \phpbb\db\driver\driver_interface $db Database connection |
|
39 | - * @param string $items_table Table name |
|
40 | - * @param string $pk Primary key |
|
41 | - * @param string $sql_where Column restriction |
|
42 | - */ |
|
36 | + * Construct |
|
37 | + * |
|
38 | + * @param \phpbb\db\driver\driver_interface $db Database connection |
|
39 | + * @param string $items_table Table name |
|
40 | + * @param string $pk Primary key |
|
41 | + * @param string $sql_where Column restriction |
|
42 | + */ |
|
43 | 43 | public function __construct(\phpbb\db\driver\driver_interface $db, $items_table, $pk, $sql_where = '') |
44 | 44 | { |
45 | 45 | $this->db = $db; |
@@ -56,8 +56,8 @@ discard block |
||
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
59 | - * {@inheritdoc} |
|
60 | - */ |
|
59 | + * {@inheritdoc} |
|
60 | + */ |
|
61 | 61 | public function to_array() |
62 | 62 | { |
63 | 63 | $attributes = $this->get_attributes(); |
@@ -74,8 +74,8 @@ discard block |
||
74 | 74 | } |
75 | 75 | |
76 | 76 | /** |
77 | - * {@inheritdoc} |
|
78 | - */ |
|
77 | + * {@inheritdoc} |
|
78 | + */ |
|
79 | 79 | public function to_db() |
80 | 80 | { |
81 | 81 | $this->check_required(); |
@@ -14,12 +14,12 @@ |
||
14 | 14 | class nestedset extends builder |
15 | 15 | { |
16 | 16 | /** |
17 | - * Construct |
|
18 | - * |
|
19 | - * @param \phpbb\db\driver\driver_interface $db Database connection |
|
20 | - * @param \phpbb\lock\db $lock Lock class used to lock the table when moving forums around |
|
21 | - * @param string $table_name Table name |
|
22 | - */ |
|
17 | + * Construct |
|
18 | + * |
|
19 | + * @param \phpbb\db\driver\driver_interface $db Database connection |
|
20 | + * @param \phpbb\lock\db $lock Lock class used to lock the table when moving forums around |
|
21 | + * @param string $table_name Table name |
|
22 | + */ |
|
23 | 23 | public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\lock\db $lock, $table_name) |
24 | 24 | { |
25 | 25 | parent::__construct( |
@@ -144,7 +144,7 @@ |
||
144 | 144 | * @param string $position |
145 | 145 | * @param array $blocks |
146 | 146 | * @param array $ex_positions |
147 | - * @param array $users_groups |
|
147 | + * @param integer[] $users_groups |
|
148 | 148 | * @param array $display_modes |
149 | 149 | * @param bool $edit_mode |
150 | 150 | * @return array[] |
@@ -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 | { |
@@ -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 |