mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-05 21:29:33 -05:00
Merge pull request #273 from Icinga/fix/php74-compat
Fix PHP 7.4 compatibility
This commit is contained in:
commit
6c4b75acb7
2 changed files with 1 additions and 3 deletions
|
|
@ -118,8 +118,6 @@ abstract class Node
|
|||
99 => 'PENDING'
|
||||
);
|
||||
|
||||
abstract public function __construct($object);
|
||||
|
||||
/**
|
||||
* Set whether to treat acknowledged hosts/services always as UP/OK
|
||||
*
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ class Diff_Renderer_Html_Array extends Diff_Renderer_Abstract
|
|||
{
|
||||
$start = 0;
|
||||
$limit = min(strlen($fromLine), strlen($toLine));
|
||||
while($start < $limit && $fromLine{$start} == $toLine{$start}) {
|
||||
while($start < $limit && $fromLine[$start] == $toLine[$start]) {
|
||||
++$start;
|
||||
}
|
||||
$end = -1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue