aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-07-28 14:13:48 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-07-28 14:13:48 +0200
commitc2481f3fbf6ebb2cce5c5562c5f5b5b074c12249 (patch)
treeaf2420859e32f604f29f4b64105a4d142c54d7e5
parentf4b154ac78b9ec3832add0894ddaeec1fc533169 (diff)
downloadUstring-c2481f3fbf6ebb2cce5c5562c5f5b5b074c12249.zip
Ustring-c2481f3fbf6ebb2cce5c5562c5f5b5b074c12249.tar.gz
Ustring-c2481f3fbf6ebb2cce5c5562c5f5b5b074c12249.tar.bz2
Fix CS.
-rw-r--r--Ustring.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ustring.php b/Ustring.php
index 3599319..93c10a9 100644
--- a/Ustring.php
+++ b/Ustring.php
@@ -946,7 +946,7 @@ class Ustring implements \ArrayAccess, \Countable, \IteratorAggregate
$code = ord($char[0]);
$bytes = 1;
- if (!($code & 0x80)) {// 0xxxxxxx
+ if (!($code & 0x80)) { // 0xxxxxxx
return $code;
}
@@ -961,7 +961,7 @@ class Ustring implements \ArrayAccess, \Countable, \IteratorAggregate
$code = $code & ~0xf0;
}
- for ($i = 2; $i <= $bytes; $i++) {// 10xxxxxx
+ for ($i = 2; $i <= $bytes; $i++) { // 10xxxxxx
$code = ($code << 6) + (ord($char[$i - 1]) & ~0x80);
}