diff options
Diffstat (limited to 'includes/Cdb.php')
-rw-r--r-- | includes/Cdb.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/includes/Cdb.php b/includes/Cdb.php index d7a2bca5..94aa1925 100644 --- a/includes/Cdb.php +++ b/includes/Cdb.php @@ -72,7 +72,7 @@ abstract class CdbWriter { * * @param $fileName string * - * @return bool + * @return CdbWriter_DBA|CdbWriter_PHP */ public static function open( $fileName ) { if ( CdbReader::haveExtension() ) { @@ -85,11 +85,15 @@ abstract class CdbWriter { /** * Create the object and open the file + * + * @param $fileName string */ abstract function __construct( $fileName ); /** * Set a key to a given value. The value will be converted to string. + * @param $key string + * @param $value string */ abstract public function set( $key, $value ); @@ -100,7 +104,6 @@ abstract class CdbWriter { abstract public function close(); } - /** * Reader class which uses the DBA extension */ |