: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Nextend\Framework\Model;
class StorageSectionManager {
/** @var ApplicationSection[] */
private static $storageTypes = array();
* @return ApplicationSection
public static function getStorage($type) {
if (!isset(self::$storageTypes[$type])) {
self::$storageTypes[$type] = new ApplicationSection($type);
return self::$storageTypes[$type];