equal
deleted
inserted
replaced
54 * |
54 * |
55 * @param int $start Byte offset into document where replacement span begins. |
55 * @param int $start Byte offset into document where replacement span begins. |
56 * @param int $length Byte length of span in document being replaced. |
56 * @param int $length Byte length of span in document being replaced. |
57 * @param string $text Span of text to insert in document to replace existing content from start to end. |
57 * @param string $text Span of text to insert in document to replace existing content from start to end. |
58 */ |
58 */ |
59 public function __construct( $start, $length, $text ) { |
59 public function __construct( int $start, int $length, string $text ) { |
60 $this->start = $start; |
60 $this->start = $start; |
61 $this->length = $length; |
61 $this->length = $length; |
62 $this->text = $text; |
62 $this->text = $text; |
63 } |
63 } |
64 } |
64 } |