|
@@ -103,9 +103,9 @@ |
|
|
block discarded – undo |
|
103
|
103
|
public function getOrigin() |
|
104
|
104
|
{ |
|
105
|
105
|
if ($this->urlAsString === null) { |
|
106
|
|
- $url = $this->scheme === null ? '' : $this->scheme . ':'; |
|
107
|
|
- $url .= $this->host === null ? '' : '//' . $this->host; |
|
108
|
|
- $url .= ($this->port === null || $this->port === self::DEFAULT_PORT) ? '' : ':' . $this->port; |
|
|
106
|
+ $url = $this->scheme === null ? '' : $this->scheme.':'; |
|
|
107
|
+ $url .= $this->host === null ? '' : '//'.$this->host; |
|
|
108
|
+ $url .= ($this->port === null || $this->port === self::DEFAULT_PORT) ? '' : ':'.$this->port; |
|
109
|
109
|
|
|
110
|
110
|
$this->urlAsString = $url; |
|
111
|
111
|
} |
Please login to merge, or discard this patch.