Skip to content

Commit

Permalink
Hoa - fix PHP 8.1 deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Oct 29, 2021
1 parent 2a9d1be commit 4e5ed5d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions patches/Rule.patch
@@ -0,0 +1,16 @@
@package hoa/compiler

--- Llk/Rule/Rule.php 2017-08-08 09:44:07.000000000 +0200
+++ Llk/Rule/Rule.php 2021-10-29 16:42:12.000000000 +0200
@@ -118,7 +118,10 @@
{
$this->setName($name);
$this->setChildren($children);
- $this->setNodeId($nodeId);
+
+ if ($nodeId !== null) {
+ $this->setNodeId($nodeId);
+ }

return;
}

0 comments on commit 4e5ed5d

Please sign in to comment.