Merge "Use an actual URL for helppage in enotif_body"
[lhc/web/wiklou.git] / includes / poolcounter / PoolCounter.php
index 1b209e4..a44200f 100644 (file)
@@ -53,9 +53,9 @@ abstract class PoolCounter {
 
        /** @var string All workers with the same key share the lock */
        protected $key;
-       /** @var integer Maximum number of workers doing the task simultaneously */
+       /** @var int Maximum number of workers doing the task simultaneously */
        protected $workers;
-       /** @var integer If this number of workers are already working/waiting, fail instead of wait */
+       /** @var int If this number of workers are already working/waiting, fail instead of wait */
        protected $maxqueue;
        /** @var float Maximum time in seconds to wait for the lock */
        protected $timeout;
@@ -75,8 +75,8 @@ abstract class PoolCounter {
        /**
         * Create a Pool counter. This should only be called from the PoolWorks.
         *
-        * @param $type
-        * @param $key
+        * @param string $type
+        * @param string $key
         *
         * @return PoolCounter
         */