Fix spelling and constant name used as default argument (#25)

This commit is contained in:
Max 2016-10-07 02:16:13 +03:00 committed by Adrien Crivelli
parent e2e982f98a
commit d84d9ba730
1 changed files with 4 additions and 4 deletions

View File

@ -150,13 +150,13 @@ class Settings
} }
/** /**
* Set the method that should be used for cell cacheing * Set the method that should be used for cell caching
* *
* @param string $method Name of the cacheing method * @param string $method Name of the caching method
* @param array $arguments Optional configuration arguments for the cacheing method * @param array $arguments Optional configuration arguments for the caching method
* @return bool Success or failure * @return bool Success or failure
*/ */
public static function setCacheStorageMethod($method = CachedObjectStorageFactory::cache_in_memory, $arguments = []) public static function setCacheStorageMethod($method = CachedObjectStorageFactory::CACHE_IN_MEMORY, $arguments = [])
{ {
return CachedObjectStorageFactory::initialize($method, $arguments); return CachedObjectStorageFactory::initialize($method, $arguments);
} }