Tweak for r29770 (yes, some months after it):
[lhc/web/wiklou.git] / includes / BagOStuff.php
index 15b8838..b4fefc9 100644 (file)
@@ -226,7 +226,7 @@ abstract class SqlBagOStuff extends BagOStuff {
        /**
         * Constructor
         *
-        * @param string $tablename name of the table to use
+        * @param $tablename String: name of the table to use
         */
        function __construct($tablename = 'objectcache') {
                $this->table = $tablename;
@@ -386,7 +386,7 @@ abstract class SqlBagOStuff extends BagOStuff {
         * On typical message and page data, this can provide a 3X decrease
         * in storage requirements.
         *
-        * @param mixed $data
+        * @param $data mixed
         * @return string
         */
        function _serialize( &$data ) {
@@ -400,7 +400,7 @@ abstract class SqlBagOStuff extends BagOStuff {
 
        /**
         * Unserialize and, if necessary, decompress an object.
-        * @param string $serial
+        * @param $serial string
         * @return mixed
         */
        function _unserialize( $serial ) {
@@ -600,7 +600,7 @@ class XCacheBagOStuff extends BagOStuff {
        /**
         * Get a value from the XCache object cache
         *
-        * @param string $key Cache key
+        * @param $key String: cache key
         * @return mixed
         */
        public function get( $key ) {
@@ -613,9 +613,9 @@ class XCacheBagOStuff extends BagOStuff {
        /**
         * Store a value in the XCache object cache
         *
-        * @param string $key Cache key
-        * @param mixed $value Object to store
-        * @param int $expire Expiration time
+        * @param $key String: cache key
+        * @param $value Mixed: object to store
+        * @param $expire Int: expiration time
         * @return bool
         */
        public function set( $key, $value, $expire = 0 ) {
@@ -626,8 +626,8 @@ class XCacheBagOStuff extends BagOStuff {
        /**
         * Remove a value from the XCache object cache
         *
-        * @param string $key Cache key
-        * @param int $time Not used in this implementation
+        * @param $key String: cache key
+        * @param $time Int: not used in this implementation
         * @return bool
         */
        public function delete( $key, $time = 0 ) {