Skip to content

Commit 8b89bbc

Browse files
committed
Add a const for indicating showing all contexts
Related to #8 Signed-off-by: Jack Cherng <[email protected]>
1 parent bd2c868 commit 8b89bbc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Differ.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
*/
1616
final class Differ
1717
{
18+
// a safe number for indicating showing all contexts
19+
const CONTEXT_ALL = \PHP_INT_MAX >> 4;
20+
1821
/**
1922
* @var array cached properties and their default values
2023
*/

0 commit comments

Comments
 (0)