Completed
Push — master ( 66f9bc...5c75e4 )
by Garrett
02:20
created
src/StrObj.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -227,6 +227,9 @@  discard block
 block discarded – undo
227 227
         return new self($this->raw{$offset});
228 228
     }
229 229
 
230
+    /**
231
+     * @param integer $offset
232
+     */
230 233
     public function charCodeAt($offset)
231 234
     {
232 235
         if ($this->encoding === self::WINDOWS1252) {
@@ -354,6 +357,9 @@  discard block
 block discarded – undo
354 357
         return new self(\str_repeat($this->raw, $times));
355 358
     }
356 359
 
360
+    /**
361
+     * @param string $replace
362
+     */
357 363
     public function replace($search, $replace, $mode = self::NORMAL)
358 364
     {
359 365
         if ($mode & self::CASE_INSENSITIVE) {
@@ -686,6 +692,9 @@  discard block
 block discarded – undo
686 692
         return [$offset, 1, false, $byte];
687 693
     }
688 694
 
695
+    /**
696
+     * @param integer $byte
697
+     */
689 698
     protected static function calcUtf8CharLength($byte)
690 699
     {
691 700
         if (~$byte & 0b00001000) return 4;
Please login to merge, or discard this patch.