mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
More whitespace fixes
This commit is contained in:
parent
5395397c95
commit
c196c2cbdf
1 changed files with 2 additions and 2 deletions
|
@ -526,11 +526,11 @@ class I18n extends Object {
|
||||||
$string = $string[1];
|
$string = $string[1];
|
||||||
if (substr($string, 0, 2) === $this->__escape . 'x') {
|
if (substr($string, 0, 2) === $this->__escape . 'x') {
|
||||||
$delimiter = $this->__escape . 'x';
|
$delimiter = $this->__escape . 'x';
|
||||||
return join('',array_map('chr', array_map('hexdec',array_filter(explode($delimiter, $string)))));
|
return join('', array_map('chr', array_map('hexdec',array_filter(explode($delimiter, $string)))));
|
||||||
}
|
}
|
||||||
if (substr($string, 0, 2) === $this->__escape . 'd') {
|
if (substr($string, 0, 2) === $this->__escape . 'd') {
|
||||||
$delimiter = $this->__escape . 'd';
|
$delimiter = $this->__escape . 'd';
|
||||||
return join('',array_map('chr', array_filter(explode($delimiter, $string))));
|
return join('', array_map('chr', array_filter(explode($delimiter, $string))));
|
||||||
}
|
}
|
||||||
if ($string[0] === $this->__escape && isset($string[1]) && is_numeric($string[1])) {
|
if ($string[0] === $this->__escape && isset($string[1]) && is_numeric($string[1])) {
|
||||||
$delimiter = $this->__escape;
|
$delimiter = $this->__escape;
|
||||||
|
|
Loading…
Add table
Reference in a new issue