Passed
Push — master ( d021a5...a13070 )
by Sam
03:47 queued 12s
created

m151126_185530_add_user_start_page_column   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 16
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getColumnName() 0 3 1
A getTableName() 0 3 1
A getColumnType() 0 3 1
1
<?php
2
3
class m151126_185530_add_user_start_page_column extends AddColumnMigration
4
{
5
6
	protected function getColumnName()
7
	{
8
		return 'start_page';
9
	}
10
11
	protected function getColumnType()
12
	{
13
		return 'string NULL';
14
	}
15
16
	protected function getTableName()
17
	{
18
		return 'user';
19
	}
20
21
}
22