Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/wordfenc.../vendor/wordfenc.../mmdb-rea.../src
File: Node.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Wordfence\MmdbReader;
[2] Fix | Delete
[3] Fix | Delete
class Node {
[4] Fix | Delete
[5] Fix | Delete
const SIDE_LEFT = 0;
[6] Fix | Delete
const SIDE_RIGHT = 1;
[7] Fix | Delete
[8] Fix | Delete
private $reader;
[9] Fix | Delete
private $data;
[10] Fix | Delete
private $left, $right;
[11] Fix | Delete
[12] Fix | Delete
public function __construct($reader, $data) {
[13] Fix | Delete
$this->reader = $reader;
[14] Fix | Delete
$this->data = $data;
[15] Fix | Delete
}
[16] Fix | Delete
[17] Fix | Delete
public function getRecord($side) {
[18] Fix | Delete
$value = $this->reader->extractRecord($this->data, $side);
[19] Fix | Delete
return new NodeRecord($this->reader, $value);
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
public function getLeft() {
[23] Fix | Delete
return $this->getRecord(self::SIDE_LEFT);
[24] Fix | Delete
}
[25] Fix | Delete
[26] Fix | Delete
public function getRight() {
[27] Fix | Delete
return $this->getRecord(self::SIDE_RIGHT);
[28] Fix | Delete
}
[29] Fix | Delete
[30] Fix | Delete
}
[31] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function