diff --git a/library/Businessprocess/Node.php b/library/Businessprocess/Node.php index c7dc07d..a68adc2 100644 --- a/library/Businessprocess/Node.php +++ b/library/Businessprocess/Node.php @@ -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 * diff --git a/library/vendor/php-diff/lib/Diff/Renderer/Html/Array.php b/library/vendor/php-diff/lib/Diff/Renderer/Html/Array.php index 76a314d..2607753 100644 --- a/library/vendor/php-diff/lib/Diff/Renderer/Html/Array.php +++ b/library/vendor/php-diff/lib/Diff/Renderer/Html/Array.php @@ -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;