Completed
Push — master ( 2f6701...a7b61e )
by Khoa
05:19
created
ext/vinabb/web/operators/nestedset_bbook_chapters.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -14,12 +14,12 @@  discard block
 block discarded – undo
14 14
 class nestedset_bbook_chapters extends \phpbb\tree\nestedset
15 15
 {
16 16
 	/**
17
-	* Construct
18
-	*
19
-	* @param \phpbb\db\driver\driver_interface	$db			Database object
20
-	* @param \phpbb\lock\db						$lock		Lock the table when moving entities around
21
-	* @param string								$table_name	Table name
22
-	*/
17
+	 * Construct
18
+	 *
19
+	 * @param \phpbb\db\driver\driver_interface	$db			Database object
20
+	 * @param \phpbb\lock\db						$lock		Lock the table when moving entities 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(
@@ -40,22 +40,22 @@  discard block
 block discarded – undo
40 40
 	}
41 41
 
42 42
 	/**
43
-	* Get the category data from the database
44
-	*
45
-	* @param int $parent_id Parent to display categories from, 0 for all
46
-	* @return array
47
-	*/
43
+	 * Get the category data from the database
44
+	 *
45
+	 * @param int $parent_id Parent to display categories from, 0 for all
46
+	 * @return array
47
+	 */
48 48
 	public function get_cat_data($parent_id)
49 49
 	{
50 50
 		return $parent_id ? $this->get_subtree_data($parent_id, true, false) : $this->get_all_tree_data();
51 51
 	}
52 52
 
53 53
 	/**
54
-	* Update the tree for an item inserted in the database
55
-	*
56
-	* @param int $item_id The item to be added
57
-	* @return array
58
-	*/
54
+	 * Update the tree for an item inserted in the database
55
+	 *
56
+	 * @param int $item_id The item to be added
57
+	 * @return array
58
+	 */
59 59
 	public function add_to_nestedset($item_id)
60 60
 	{
61 61
 		return $this->add_item_to_nestedset($item_id);
Please login to merge, or discard this patch.
ext/vinabb/web/migrations/v10x/bbook_modules.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -16,20 +16,20 @@
 block discarded – undo
16 16
 class bbook_modules extends migration
17 17
 {
18 18
 	/**
19
-	* List of required migrations
20
-	*
21
-	* @return array
22
-	*/
19
+	 * List of required migrations
20
+	 *
21
+	 * @return array
22
+	 */
23 23
 	static public function depends_on()
24 24
 	{
25 25
 		return ['\vinabb\web\migrations\v10x\bbook_categories'];
26 26
 	}
27 27
 
28 28
 	/**
29
-	* Update data
30
-	*
31
-	* @return array
32
-	*/
29
+	 * Update data
30
+	 *
31
+	 * @return array
32
+	 */
33 33
 	public function update_data()
34 34
 	{
35 35
 		return [
Please login to merge, or discard this patch.
ext/vinabb/web/migrations/v10x/bbook_schema.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -16,10 +16,10 @@  discard block
 block discarded – undo
16 16
 class bbook_schema extends migration
17 17
 {
18 18
 	/**
19
-	* Update schema
20
-	*
21
-	* @return array
22
-	*/
19
+	 * Update schema
20
+	 *
21
+	 * @return array
22
+	 */
23 23
 	public function update_schema()
24 24
 	{
25 25
 		return [
@@ -32,10 +32,10 @@  discard block
 block discarded – undo
32 32
 	}
33 33
 
34 34
 	/**
35
-	* Get schema for the table: _bbook_books
36
-	*
37
-	* @return array
38
-	*/
35
+	 * Get schema for the table: _bbook_books
36
+	 *
37
+	 * @return array
38
+	 */
39 39
 	protected function get_schema_bbook_books()
40 40
 	{
41 41
 		return [
@@ -55,10 +55,10 @@  discard block
 block discarded – undo
55 55
 	}
56 56
 
57 57
 	/**
58
-	* Get schema for the table: _bbook_chapters
59
-	*
60
-	* @return array
61
-	*/
58
+	 * Get schema for the table: _bbook_chapters
59
+	 *
60
+	 * @return array
61
+	 */
62 62
 	protected function get_schema_bbook_chapters()
63 63
 	{
64 64
 		return [
@@ -82,10 +82,10 @@  discard block
 block discarded – undo
82 82
 	}
83 83
 
84 84
 	/**
85
-	* Get schema for the table: _bbook_words
86
-	*
87
-	* @return array
88
-	*/
85
+	 * Get schema for the table: _bbook_words
86
+	 *
87
+	 * @return array
88
+	 */
89 89
 	protected function get_schema_bbook_words()
90 90
 	{
91 91
 		return [
Please login to merge, or discard this patch.