diff options
author | wn_ <[email protected]> | 2022-07-16 13:13:54 +0000 |
---|---|---|
committer | wn_ <[email protected]> | 2022-07-16 13:13:54 +0000 |
commit | b9cc0945d80952cbc0a72cd8d7858e5e2dd510cf (patch) | |
tree | 1a3034c90431390cc6a77d73cdf6953f1e97d2ff | |
parent | ec7fb4d8504118d918699d5df8cd07c91af2f9b3 (diff) |
Add 'ReturnTypeWillChange' to 2 methods in 'NodeTrait'.
-rw-r--r-- | src/Nodes/NodeTrait.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Nodes/NodeTrait.php b/src/Nodes/NodeTrait.php index d72c08d..1e9e3d1 100644 --- a/src/Nodes/NodeTrait.php +++ b/src/Nodes/NodeTrait.php @@ -167,6 +167,7 @@ trait NodeTrait * * @return string */ + #[\ReturnTypeWillChange] public function getAttribute($attributeName) { if (!is_null($this->attributes)) { @@ -185,6 +186,7 @@ trait NodeTrait * * @see getAttribute */ + #[\ReturnTypeWillChange] public function hasAttribute($attributeName) { if (!is_null($this->attributes)) { |