We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bf57a4 commit 874b98cCopy full SHA for 874b98c
src/SequenceMatcher.php
@@ -13,11 +13,20 @@
13
*/
14
final class SequenceMatcher
15
{
16
- const OP_NOP = 0; // no operation
17
- const OP_EQ = 1 << 0; // equal
18
- const OP_DEL = 1 << 1; // delete
19
- const OP_INS = 1 << 2; // insert
20
- const OP_REP = 1 << 3; // replace
+ /** @var int 0, opcode: no operation */
+ const OP_NOP = 0;
+
+ /** @var int 1, opcode: equal */
+ const OP_EQ = 1 << 0;
21
22
+ /** @var int 2, opcode: delete */
23
+ const OP_DEL = 1 << 1;
24
25
+ /** @var int 4, opcode: insert */
26
+ const OP_INS = 1 << 2;
27
28
+ /** @var int 8, opcode: replace */
29
+ const OP_REP = 1 << 3;
30
31
const OP_INT_TO_STR_MAP = [
32
self::OP_NOP => 'nop',
0 commit comments