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/ninja-fo.../includes/Telemetr...
File: MetricFactory.php
<?php
[0] Fix | Delete
[1] Fix | Delete
class NF_Telemetry_MetricFactory
[2] Fix | Delete
{
[3] Fix | Delete
public static function create( $metric, $option, $default = 0 )
[4] Fix | Delete
{
[5] Fix | Delete
$metric_class = 'NF_Telemetry_' . $metric;
[6] Fix | Delete
$repository = new NF_Telemetry_MetricRepository( $option, $default );
[7] Fix | Delete
return new $metric_class( $repository );
[8] Fix | Delete
}
[9] Fix | Delete
}
[10] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function