@@ -36,6 +36,6 @@ |
||
| 36 | 36 | |
| 37 | 37 | protected function percentFormat() |
| 38 | 38 | { |
| 39 | - return self::PLACEHOLDER . self::NBSP . self::PERCENT; |
|
| 39 | + return self::PLACEHOLDER.self::NBSP.self::PERCENT; |
|
| 40 | 40 | } |
| 41 | 41 | } |
@@ -27,6 +27,6 @@ |
||
| 27 | 27 | |
| 28 | 28 | protected function percentFormat() |
| 29 | 29 | { |
| 30 | - return self::PLACEHOLDER . self::ARAB_PERCENT; |
|
| 30 | + return self::PLACEHOLDER.self::ARAB_PERCENT; |
|
| 31 | 31 | } |
| 32 | 32 | } |
@@ -36,6 +36,6 @@ |
||
| 36 | 36 | |
| 37 | 37 | public function percentFormat() |
| 38 | 38 | { |
| 39 | - return self::PLACEHOLDER . self::NBSP . self::PERCENT; |
|
| 39 | + return self::PLACEHOLDER.self::NBSP.self::PERCENT; |
|
| 40 | 40 | } |
| 41 | 41 | } |
@@ -48,17 +48,17 @@ discard block |
||
| 48 | 48 | */ |
| 49 | 49 | public function code() |
| 50 | 50 | { |
| 51 | - $code = $this->language()->code() . '_' . $this->territory()->code(); |
|
| 51 | + $code = $this->language()->code().'_'.$this->territory()->code(); |
|
| 52 | 52 | |
| 53 | 53 | if ($this->script() != $this->language()->defaultScript()) { |
| 54 | - $code .= '@' . strtolower($this->script()->unicodeName()); |
|
| 54 | + $code .= '@'.strtolower($this->script()->unicodeName()); |
|
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | if ($this->variant()) { |
| 58 | 58 | if ($this->variant()->code() === 'posix') { |
| 59 | 59 | $code = 'POSIX'; |
| 60 | 60 | } else { |
| 61 | - $code .= '@' . $this->variant()->code(); |
|
| 61 | + $code .= '@'.$this->variant()->code(); |
|
| 62 | 62 | } |
| 63 | 63 | } |
| 64 | 64 | |
@@ -148,9 +148,9 @@ discard block |
||
| 148 | 148 | public function htmlAttributes() |
| 149 | 149 | { |
| 150 | 150 | if ($this->direction() === 'rtl' || $this->direction() !== $this->script()->direction()) { |
| 151 | - return 'lang="' . $this->languageTag() . '" dir="' . $this->direction() . '"'; |
|
| 151 | + return 'lang="'.$this->languageTag().'" dir="'.$this->direction().'"'; |
|
| 152 | 152 | } else { |
| 153 | - return 'lang="' . $this->languageTag() . '"'; |
|
| 153 | + return 'lang="'.$this->languageTag().'"'; |
|
| 154 | 154 | } |
| 155 | 155 | } |
| 156 | 156 | |
@@ -171,13 +171,13 @@ discard block |
||
| 171 | 171 | { |
| 172 | 172 | $language_tag = $this->language()->code(); |
| 173 | 173 | if ($this->script() != $this->language()->defaultScript()) { |
| 174 | - $language_tag .= '-' . $this->script()->code(); |
|
| 174 | + $language_tag .= '-'.$this->script()->code(); |
|
| 175 | 175 | } |
| 176 | 176 | if ($this->territory() != $this->language()->defaultTerritory()) { |
| 177 | - $language_tag .= '-' . $this->territory()->code(); |
|
| 177 | + $language_tag .= '-'.$this->territory()->code(); |
|
| 178 | 178 | } |
| 179 | 179 | if ($this->variant()) { |
| 180 | - $language_tag .= '-' . $this->variant()->code(); |
|
| 180 | + $language_tag .= '-'.$this->variant()->code(); |
|
| 181 | 181 | } |
| 182 | 182 | |
| 183 | 183 | return $language_tag; |
@@ -212,20 +212,20 @@ discard block |
||
| 212 | 212 | $integers = $parts[0]; |
| 213 | 213 | if (strlen($integers) >= $this->digitsFirstGroup() + $this->minimumGroupingDigits()) { |
| 214 | 214 | $todo = substr($integers, 0, -$this->digitsFirstGroup()); |
| 215 | - $integers = self::GROUP . substr($integers, -$this->digitsFirstGroup()); |
|
| 215 | + $integers = self::GROUP.substr($integers, -$this->digitsFirstGroup()); |
|
| 216 | 216 | while (strlen($todo) >= $this->digitsGroup() + $this->minimumGroupingDigits()) { |
| 217 | - $integers = self::GROUP . substr($todo, -$this->digitsGroup()) . $integers; |
|
| 217 | + $integers = self::GROUP.substr($todo, -$this->digitsGroup()).$integers; |
|
| 218 | 218 | $todo = substr($todo, 0, -$this->digitsGroup()); |
| 219 | 219 | } |
| 220 | - $integers = $todo . $integers; |
|
| 220 | + $integers = $todo.$integers; |
|
| 221 | 221 | } |
| 222 | 222 | if (count($parts) > 1) { |
| 223 | - $decimals = self::DECIMAL . $parts[1]; |
|
| 223 | + $decimals = self::DECIMAL.$parts[1]; |
|
| 224 | 224 | } else { |
| 225 | 225 | $decimals = ''; |
| 226 | 226 | } |
| 227 | 227 | |
| 228 | - return $this->digits($negative . $integers . $decimals); |
|
| 228 | + return $this->digits($negative.$integers.$decimals); |
|
| 229 | 229 | } |
| 230 | 230 | |
| 231 | 231 | /** |
@@ -267,7 +267,7 @@ discard block |
||
| 267 | 267 | */ |
| 268 | 268 | protected function percentFormat() |
| 269 | 269 | { |
| 270 | - return self::PLACEHOLDER . self::PERCENT; |
|
| 270 | + return self::PLACEHOLDER.self::PERCENT; |
|
| 271 | 271 | } |
| 272 | 272 | |
| 273 | 273 | /** |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | protected function percentFormat() |
| 36 | 36 | { |
| 37 | - return self::PLACEHOLDER . self::NBSP . self::PERCENT; |
|
| 37 | + return self::PLACEHOLDER.self::NBSP.self::PERCENT; |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | public function territory() |
@@ -36,6 +36,6 @@ |
||
| 36 | 36 | |
| 37 | 37 | protected function percentFormat() |
| 38 | 38 | { |
| 39 | - return self::PLACEHOLDER . self::NBSP . self::PERCENT; |
|
| 39 | + return self::PLACEHOLDER.self::NBSP.self::PERCENT; |
|
| 40 | 40 | } |
| 41 | 41 | } |
@@ -36,6 +36,6 @@ |
||
| 36 | 36 | |
| 37 | 37 | protected function percentFormat() |
| 38 | 38 | { |
| 39 | - return self::PLACEHOLDER . self::NBSP . self::PERCENT; |
|
| 39 | + return self::PLACEHOLDER.self::NBSP.self::PERCENT; |
|
| 40 | 40 | } |
| 41 | 41 | } |
@@ -36,6 +36,6 @@ |
||
| 36 | 36 | |
| 37 | 37 | protected function percentFormat() |
| 38 | 38 | { |
| 39 | - return self::PLACEHOLDER . self::NBSP . self::PERCENT; |
|
| 39 | + return self::PLACEHOLDER.self::NBSP.self::PERCENT; |
|
| 40 | 40 | } |
| 41 | 41 | } |
@@ -42,6 +42,6 @@ |
||
| 42 | 42 | |
| 43 | 43 | public function percentFormat() |
| 44 | 44 | { |
| 45 | - return self::PLACEHOLDER . self::NBSP . self::PERCENT; |
|
| 45 | + return self::PLACEHOLDER.self::NBSP.self::PERCENT; |
|
| 46 | 46 | } |
| 47 | 47 | } |