Completed
Push — master ( f85466...fa783b )
by Eugene
17:04 queued 07:05
created
src/PheanstalkQueue.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@
 block discarded – undo
79 79
         $this->doClear('delayed');
80 80
     }
81 81
 
82
+    /**
83
+     * @param string $state
84
+     */
82 85
     protected function doClear($state)
83 86
     {
84 87
         try {
Please login to merge, or discard this patch.
src/SysVQueue.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -38,6 +38,10 @@  discard block
 block discarded – undo
38 38
      */
39 39
     private $queue;
40 40
 
41
+    /**
42
+     * @param boolean $serialize
43
+     * @param integer $perms
44
+     */
41 45
     public function __construct($key, $serialize = null, $perms = null)
42 46
     {
43 47
         $this->key = $key;
@@ -118,6 +122,9 @@  discard block
 block discarded – undo
118 122
         return $this->queue;
119 123
     }
120 124
 
125
+    /**
126
+     * @param integer|null $errorCode
127
+     */
121 128
     private static function getErrorMessage($errorCode)
122 129
     {
123 130
         if ($errorCode) {
Please login to merge, or discard this patch.
tests/Handler/PheanstalkHandler.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
41 41
         $this->pheanstalk = new Pheanstalk($this->getOption('host'), $this->getOption('port'));
42 42
     }
43 43
 
44
+    /**
45
+     * @param string $state
46
+     */
44 47
     private function doClear($tubeName, $state)
45 48
     {
46 49
         try {
Please login to merge, or discard this patch.
tests/Queue/Performance.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -47,6 +47,10 @@  discard block
 block discarded – undo
47 47
         return [[0], [1]];
48 48
     }
49 49
 
50
+    /**
51
+     * @param integer $queueSize
52
+     * @param string $item
53
+     */
50 54
     protected function benchmarkPush($queueSize, $item, $delay)
51 55
     {
52 56
         $eta = $delay ? time() + $delay : null;
@@ -59,6 +63,10 @@  discard block
 block discarded – undo
59 63
         return microtime(true) - $start;
60 64
     }
61 65
 
66
+    /**
67
+     * @param integer $total
68
+     * @param double $runtime
69
+     */
62 70
     protected function printPerformanceResult($total, $runtime)
63 71
     {
64 72
         printf("   Total operations:      %d\n", $total);
Please login to merge, or discard this patch.