Skip to content

Commit 4e5ed5d

Browse files
committed
Hoa - fix PHP 8.1 deprecation
1 parent 2a9d1be commit 4e5ed5d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

patches/Rule.patch

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
@package hoa/compiler
2+
3+
--- Llk/Rule/Rule.php 2017-08-08 09:44:07.000000000 +0200
4+
+++ Llk/Rule/Rule.php 2021-10-29 16:42:12.000000000 +0200
5+
@@ -118,7 +118,10 @@
6+
{
7+
$this->setName($name);
8+
$this->setChildren($children);
9+
- $this->setNodeId($nodeId);
10+
+
11+
+ if ($nodeId !== null) {
12+
+ $this->setNodeId($nodeId);
13+
+ }
14+
15+
return;
16+
}

0 commit comments

Comments
 (0)