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/advanced.../src
File: Abstract_Repository.php
<?php
[0] Fix | Delete
[1] Fix | Delete
namespace Advanced_Ads;
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* Abstract object repository/factory to hold object instances within a request.
[5] Fix | Delete
*/
[6] Fix | Delete
abstract class Abstract_Repository {
[7] Fix | Delete
/**
[8] Fix | Delete
* Get the object from the repository. Create and add it, if it doesn't exist.
[9] Fix | Delete
*
[10] Fix | Delete
* @param int $id The object id to look for.
[11] Fix | Delete
*/
[12] Fix | Delete
abstract public static function get( int $id );
[13] Fix | Delete
[14] Fix | Delete
/**
[15] Fix | Delete
* Whether the object is in the repository.
[16] Fix | Delete
*
[17] Fix | Delete
* @param int $id The object id to look for.
[18] Fix | Delete
*
[19] Fix | Delete
* @return bool
[20] Fix | Delete
*/
[21] Fix | Delete
protected static function has( int $id ): bool {
[22] Fix | Delete
return array_key_exists( $id, static::$repo );
[23] Fix | Delete
}
[24] Fix | Delete
}
[25] Fix | Delete
[26] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function