Bugfix: Work item 18598 - Cannot access private property PHPExcel_CachedObjectStorageFactory::$_cacheStorageMethod

This commit is contained in:
Mark Baker
2012-09-06 23:40:39 +01:00
parent f87ca1419d
commit 23fe9937fe
3 changed files with 10 additions and 14 deletions
@@ -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()