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/wp-conte.../plugins/sitepres.../lib/twig/src/Extensio...
File: OptimizerExtension.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/*
[2] Fix | Delete
* This file is part of Twig.
[3] Fix | Delete
*
[4] Fix | Delete
* (c) Fabien Potencier
[5] Fix | Delete
*
[6] Fix | Delete
* For the full copyright and license information, please view the LICENSE
[7] Fix | Delete
* file that was distributed with this source code.
[8] Fix | Delete
*/
[9] Fix | Delete
namespace WPML\Core\Twig\Extension;
[10] Fix | Delete
[11] Fix | Delete
use WPML\Core\Twig\NodeVisitor\OptimizerNodeVisitor;
[12] Fix | Delete
/**
[13] Fix | Delete
* @final
[14] Fix | Delete
*/
[15] Fix | Delete
class OptimizerExtension extends \WPML\Core\Twig\Extension\AbstractExtension
[16] Fix | Delete
{
[17] Fix | Delete
protected $optimizers;
[18] Fix | Delete
public function __construct($optimizers = -1)
[19] Fix | Delete
{
[20] Fix | Delete
$this->optimizers = $optimizers;
[21] Fix | Delete
}
[22] Fix | Delete
public function getNodeVisitors()
[23] Fix | Delete
{
[24] Fix | Delete
return [new \WPML\Core\Twig\NodeVisitor\OptimizerNodeVisitor($this->optimizers)];
[25] Fix | Delete
}
[26] Fix | Delete
public function getName()
[27] Fix | Delete
{
[28] Fix | Delete
return 'optimizer';
[29] Fix | Delete
}
[30] Fix | Delete
}
[31] Fix | Delete
\class_alias('WPML\\Core\\Twig\\Extension\\OptimizerExtension', 'WPML\\Core\\Twig_Extension_Optimizer');
[32] Fix | Delete
[33] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function