/**
* Open a file and return a subclass instance
*
- * @param $fileName string
+ * @param string $fileName
*
* @return CdbReader
*/
/**
* Create the object and open the file
*
- * @param $fileName string
+ * @param string $fileName
*/
abstract public function __construct( $fileName );
/**
* Get a value with a given key. Only string values are supported.
*
- * @param $key string
+ * @param string $key
*/
abstract public function get( $key );
}
* Open a writer and return a subclass instance.
* The user must have write access to the directory, for temporary file creation.
*
- * @param $fileName string
+ * @param string $fileName
*
* @return CdbWriterDBA|CdbWriterPHP
*/
/**
* Create the object and open the file
*
- * @param $fileName string
+ * @param string $fileName
*/
abstract public function __construct( $fileName );
/**
* Set a key to a given value. The value will be converted to string.
- * @param $key string
- * @param $value string
+ * @param string $key
+ * @param string $value
*/
abstract public function set( $key, $value );
* Exception for Cdb errors.
* This explicitly doesn't subclass MWException to encourage reuse.
*/
-class CdbException extends Exception {}
+class CdbException extends Exception {
+}