| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | 117 | public function __construct($phref, $ptype, $prel = NULL, $ptitle = NULL, $pfacetGroup = NULL, $pactiveFacet = FALSE) { |
|
| 25 | 117 | $this->href = $phref; |
|
| 26 | 117 | $this->type = $ptype; |
|
| 27 | 117 | $this->rel = $prel; |
|
| 28 | 117 | $this->title = $ptitle; |
|
| 29 | 117 | $this->facetGroup = $pfacetGroup; |
|
| 30 | 117 | $this->activeFacet = $pactiveFacet; |
|
| 31 | 117 | } |
|
| 32 | |||
| 42 |
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.