| Conditions | 3 |
| Paths | 4 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function __construct(string $elementName, UriInterface $mixedContentUrl, UriInterface $foundOnUrl) |
||
| 19 | { |
||
| 20 | $this->elementName = $elementName; |
||
| 21 | |||
| 22 | if ($mixedContentUrl->getPath() === '') { |
||
| 23 | $mixedContentUrl = $mixedContentUrl->withPath('/'); |
||
| 24 | } |
||
| 25 | |||
| 26 | $this->mixedContentUrl = $mixedContentUrl; |
||
| 27 | |||
| 28 | if ($foundOnUrl->getPath() === '') { |
||
| 29 | $foundOnUrl = $foundOnUrl->withPath('/'); |
||
| 30 | } |
||
| 31 | |||
| 32 | $this->foundOnUrl = $foundOnUrl; |
||
| 33 | } |
||
| 34 | |||
| 44 |