From d84d9ba7300cabd1698d20ae2001ba648af15e22 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 7 Oct 2016 02:16:13 +0300 Subject: [PATCH] Fix spelling and constant name used as default argument (#25) --- src/PhpSpreadsheet/Settings.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/PhpSpreadsheet/Settings.php b/src/PhpSpreadsheet/Settings.php index aa4a464d..47ec0bbf 100644 --- a/src/PhpSpreadsheet/Settings.php +++ b/src/PhpSpreadsheet/Settings.php @@ -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 array $arguments Optional configuration arguments for the cacheing method + * @param string $method Name of the caching method + * @param array $arguments Optional configuration arguments for the caching method * @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); }