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 b891c73 commit e6546c7Copy full SHA for e6546c7
src/SequenceMatcher.php
@@ -13,12 +13,14 @@
13
*/
14
final class SequenceMatcher
15
{
16
- const OP_EQ = 1 << 0;
17
- const OP_DEL = 1 << 1;
18
- const OP_INS = 1 << 2;
19
- const OP_REP = 1 << 3;
+ const OP_NOP = 0; // no operation
+ const OP_EQ = 1 << 0; // equal
+ const OP_DEL = 1 << 1; // delete
+ const OP_INS = 1 << 2; // insert
20
+ const OP_REP = 1 << 3; // replace
21
22
const OP_INT_TO_STR_MAP = [
23
+ self::OP_NOP => 'nop',
24
self::OP_EQ => 'eq',
25
self::OP_DEL => 'del',
26
self::OP_INS => 'ins',
0 commit comments