Skip to content

Commit 6548066

Browse files
author
Greg Bowler
authored
tweak: php 8.1 support (#456)
1 parent b7a3df6 commit 6548066

File tree

2 files changed

+34
-34
lines changed

2 files changed

+34
-34
lines changed

composer.lock

Lines changed: 28 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Node.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ class Node extends DOMNode {
2828
const TYPE_ENTITY_DECL = XML_ENTITY_DECL_NODE;
2929
const TYPE_NAMESPACE_DECL = XML_NAMESPACE_DECL_NODE;
3030

31-
public const int DOCUMENT_POSITION_DISCONNECTED = 0b000001;
32-
public const int DOCUMENT_POSITION_PRECEDING = 0b000010;
33-
public const int DOCUMENT_POSITION_FOLLOWING = 0b000100;
34-
public const int DOCUMENT_POSITION_CONTAINS = 0b001000;
35-
public const int DOCUMENT_POSITION_CONTAINED_BY = 0b010000;
36-
public const int DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0b100000;
31+
public const DOCUMENT_POSITION_DISCONNECTED = 0b000001;
32+
public const DOCUMENT_POSITION_PRECEDING = 0b000010;
33+
public const DOCUMENT_POSITION_FOLLOWING = 0b000100;
34+
public const DOCUMENT_POSITION_CONTAINS = 0b001000;
35+
public const DOCUMENT_POSITION_CONTAINED_BY = 0b010000;
36+
public const DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0b100000;
3737

3838
private function __construct() {}
3939
}

0 commit comments

Comments
 (0)