Author: Derick Rethans Date: 2006-09-26 16:07:01 +0200 (Tue, 26 Sep 2006) New Revision: 3592
Log: - Fixed documentation for the setOptions() method. Modified: trunk/TranslationCacheTiein/src/backends/cache_backend.php Modified: trunk/TranslationCacheTiein/src/backends/cache_backend.php =================================================================== --- trunk/TranslationCacheTiein/src/backends/cache_backend.php 2006-09-26 13:51:59 UTC (rev 3591) +++ trunk/TranslationCacheTiein/src/backends/cache_backend.php 2006-09-26 14:07:01 UTC (rev 3592) @@ -105,7 +105,8 @@ * Sets configuration data * * This backend accepts no settings at all, and will always throw an - * ezcBaseConfigException if this setOptions() method is called. + * ezcBaseSettingNotFoundException for every setting that is contained + * in the $configurationData. * * @param array $configurationData * @throws ezcBaseSettingNotFoundException if an unknown setting is passed. @@ -116,11 +117,7 @@ { foreach ( $configurationData as $name => $value ) { - switch ( $name ) - { - default: - throw new ezcBaseSettingNotFoundException( $name ); - } + throw new ezcBaseSettingNotFoundException( $name ); } } /** -- svn-components mailing list svn-components@lists.ez.no http://lists.ez.no/mailman/listinfo/svn-components