| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | 1 | public function InitializeContent () |
|
| 12 | { |
||
| 13 | 1 | $this->idPage = Author::getEntryIdByLetter ($this->idGet); |
|
| 14 | 1 | $this->entryArray = Author::getAuthorsByStartingLetter ($this->idGet); |
|
| 15 | 1 | $this->title = str_format (localize ("splitByLetter.letter"), str_format (localize ("authorword", count ($this->entryArray)), count ($this->entryArray)), $this->idGet); |
|
| 16 | 1 | } |
|
| 17 | } |
||
| 18 |
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.