| Conditions | 4 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 4 |
| Changes | 4 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 40 | 6 | public function __construct(array $properties) |
|
| 41 | { |
||
| 42 | 6 | parent::__construct($properties); |
|
| 43 | |||
| 44 | 6 | $this->uri = str_replace('{active}', $this->active ? 'true' : 'false', $this->uri); |
|
| 45 | |||
| 46 | 6 | $this->uri = str_replace('{actual_hours}', $this->actualHours ? 'true' : 'false', $this->uri); |
|
| 47 | |||
| 48 | 6 | $this->uri = str_replace('{only_templates}', $this->onlyTemplates ? 'true' : 'false', $this->uri); |
|
| 49 | 6 | } |
|
| 50 | } |
||
| 51 |