@@ -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( |
@@ -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(); |