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
File: Source.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;
[10] Fix | Delete
[11] Fix | Delete
/**
[12] Fix | Delete
* Holds information about a non-compiled Twig template.
[13] Fix | Delete
*
[14] Fix | Delete
* @final
[15] Fix | Delete
*
[16] Fix | Delete
* @author Fabien Potencier <fabien@symfony.com>
[17] Fix | Delete
*/
[18] Fix | Delete
class Source
[19] Fix | Delete
{
[20] Fix | Delete
private $code;
[21] Fix | Delete
private $name;
[22] Fix | Delete
private $path;
[23] Fix | Delete
/**
[24] Fix | Delete
* @param string $code The template source code
[25] Fix | Delete
* @param string $name The template logical name
[26] Fix | Delete
* @param string $path The filesystem path of the template if any
[27] Fix | Delete
*/
[28] Fix | Delete
public function __construct($code, $name, $path = '')
[29] Fix | Delete
{
[30] Fix | Delete
$this->code = $code;
[31] Fix | Delete
$this->name = $name;
[32] Fix | Delete
$this->path = $path;
[33] Fix | Delete
}
[34] Fix | Delete
public function getCode()
[35] Fix | Delete
{
[36] Fix | Delete
return $this->code;
[37] Fix | Delete
}
[38] Fix | Delete
public function getName()
[39] Fix | Delete
{
[40] Fix | Delete
return $this->name;
[41] Fix | Delete
}
[42] Fix | Delete
public function getPath()
[43] Fix | Delete
{
[44] Fix | Delete
return $this->path;
[45] Fix | Delete
}
[46] Fix | Delete
}
[47] Fix | Delete
\class_alias('WPML\\Core\\Twig\\Source', 'WPML\\Core\\Twig_Source');
[48] Fix | Delete
[49] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function