initial_extension   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 10
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A update_data() 0 7 1
1
<?php
2
/**
3
 *
4
 * @package phpBB Extension - tas2580 AJAX Notifications
5
 * @copyright (c) 2016 tas2580 (https://tas2580.net)
6
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
7
 *
8
 */
9
10
namespace tas2580\ajaxnotification\migrations;
11
12
class initial_extension extends \phpbb\db\migration\migration
13
{
14
	public function update_data()
15
	{
16
		return array(
17
			// Add configs
18
			array('config.add', array('ajaxnotification_timeout', '10')),
19
		);
20
	}
21
}
22