@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | { |
| 71 | 71 | if ($this->isCorrectUrl(parse_url($pagePath))) { |
| 72 | 72 | $this->setPagePath($pagePath); |
| 73 | - }else{ |
|
| 73 | + } else{ |
|
| 74 | 74 | throw new \Exception('path is not correct url'); |
| 75 | 75 | } |
| 76 | 76 | } |
@@ -190,9 +190,9 @@ discard block |
||
| 190 | 190 | if ($this->domain === null) { |
| 191 | 191 | if ($this->getBaseTag() === null) { |
| 192 | 192 | $this->domain = $this->getPagePathParsing()['host'] . '/'; |
| 193 | - }elseif (array_key_exists('scheme', $this->getBaseTagParsing())){ |
|
| 193 | + } elseif (array_key_exists('scheme', $this->getBaseTagParsing())){ |
|
| 194 | 194 | $this->domain = $this->getBaseTagParsing()['host'] . '/'; |
| 195 | - }else { |
|
| 195 | + } else { |
|
| 196 | 196 | $this->domain = $this->getPagePathParsing()['host'] . '/'; |
| 197 | 197 | } |
| 198 | 198 | } |
@@ -204,9 +204,9 @@ discard block |
||
| 204 | 204 | if ($this->scheme === null) { |
| 205 | 205 | if ($this->getBaseTag() === null) { |
| 206 | 206 | $this->scheme = $this->getPagePathParsing()['scheme']; |
| 207 | - }elseif (array_key_exists('scheme', $this->getBaseTagParsing())){ |
|
| 207 | + } elseif (array_key_exists('scheme', $this->getBaseTagParsing())){ |
|
| 208 | 208 | $this->scheme = $this->getBaseTagParsing()['scheme']; |
| 209 | - }else { |
|
| 209 | + } else { |
|
| 210 | 210 | $this->scheme = $this->getPagePathParsing()['scheme']; |
| 211 | 211 | } |
| 212 | 212 | } |