| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | 12 | public function InitializeContent () |
|
| 12 | { |
||
| 13 | 12 | $customId = getURLParam ("custom", NULL); |
|
| 14 | 12 | $columnType = CustomColumnType::createByCustomID($customId); |
|
| 15 | |||
| 16 | 12 | $this->title = $columnType->getTitle(); |
|
| 17 | 12 | $this->entryArray = $columnType->getAllCustomValues(); |
|
| 18 | 12 | $this->idPage = $columnType->getAllCustomsId(); |
|
| 19 | 12 | } |
|
| 20 | } |
||
| 21 |
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.