mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-28 08:05:29 +00:00
Bugfix: Work item 18598 - Cannot access private property PHPExcel_CachedObjectStorageFactory::$_cacheStorageMethod
This commit is contained in:
@@ -132,10 +132,7 @@ class PHPExcel_CachedObjectStorageFactory
|
||||
**/
|
||||
public static function getCacheStorageMethod()
|
||||
{
|
||||
if (self::$_cacheStorageMethod !== NULL) {
|
||||
return self::$_cacheStorageMethod;
|
||||
}
|
||||
return NULL;
|
||||
return self::$_cacheStorageMethod;
|
||||
} // function getCacheStorageMethod()
|
||||
|
||||
|
||||
@@ -146,10 +143,7 @@ class PHPExcel_CachedObjectStorageFactory
|
||||
**/
|
||||
public static function getCacheStorageClass()
|
||||
{
|
||||
if (self::$_cacheStorageClass !== NULL) {
|
||||
return self::$_cacheStorageClass;
|
||||
}
|
||||
return NULL;
|
||||
return self::$_cacheStorageClass;
|
||||
} // function getCacheStorageClass()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user