Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
17 | public function extraStatics() |
||
18 | { |
||
19 | return array( |
||
20 | 'db' => array( |
||
21 | 'TwitterID' => 'Varchar', |
||
22 | 'TwitterToken' => 'Varchar(100)', |
||
23 | 'TwitterSecret' => 'Varchar(100)', |
||
24 | 'TwitterPicture' => 'Text', |
||
25 | 'TwitterName' => 'Varchar(255)', |
||
26 | 'TwitterScreenName' => 'Varchar(255)' |
||
27 | ), |
||
28 | 'indexes' => array( |
||
29 | 'TwitterID' => true, |
||
30 | 'TwitterScreenName' => true |
||
31 | ) |
||
32 | ); |
||
33 | } |
||
34 | |||
65 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.