@@ -38,9 +38,9 @@ |
||
| 38 | 38 | |
| 39 | 39 | public function addUrl(string $url): self { |
| 40 | 40 | |
| 41 | - if ($this->chekcIfValidUrl($url) === false) { |
|
| 42 | - throw new \RuntimeException('Not a good url.'); |
|
| 43 | - } |
|
| 41 | + if ($this->chekcIfValidUrl($url) === false) { |
|
| 42 | + throw new \RuntimeException('Not a good url.'); |
|
| 43 | + } |
|
| 44 | 44 | |
| 45 | 45 | $this->urlEntity->addUrl($url); |
| 46 | 46 | return $this; |