Completed
Branch master (9de208)
by Taosikai
14:56
created
Process.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@
 block discarded – undo
52 52
      */
53 53
     protected $status;
54 54
 
55
+    /**
56
+     * @param \Closure $callback
57
+     */
55 58
     public function __construct($callback)
56 59
     {
57 60
         if (!static::isSupported()) {
Please login to merge, or discard this patch.
SignalHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
     /**
13 13
      * Registers a callback for some signals
14 14
      * @param int|array $signals a signal or an array of signals
15
-     * @param callable|int $callback a callback
15
+     * @param \Closure $callback a callback
16 16
      * @return SignalHandler;
17 17
      */
18 18
     public function register($signals, $callback)
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
     /**
43 43
      * Gets the handler for a signal
44
-     * @param $signal
44
+     * @param integer $signal
45 45
      * @return int|string
46 46
      */
47 47
     public function getHandler($signal)
Please login to merge, or discard this patch.
Status.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@
 block discarded – undo
47 47
      */
48 48
     protected $stopSignal;
49 49
 
50
+    /**
51
+     * @param integer $status
52
+     */
50 53
     public function __construct($status)
51 54
     {
52 55
         $this->status = $status;
Please login to merge, or discard this patch.
SystemV/SharedMemory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
     /**
36 36
      * Gets a value from the shared memory
37
-     * @param $key
37
+     * @param string $key
38 38
      * @return mixed
39 39
      */
40 40
     public function get($key)
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * Persists data in the shared memory
47 47
      * @param string $key
48
-     * @param mixed $value
48
+     * @param string $value
49 49
      * @return bool
50 50
      */
51 51
     public function set($key, $value)
Please login to merge, or discard this patch.
Tests/Pipe/DuplexFifoTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -84,6 +84,9 @@
 block discarded – undo
84 84
         $fifo->close();
85 85
     }
86 86
 
87
+    /**
88
+     * @param string $command
89
+     */
87 90
     protected function syncExecute($command)
88 91
     {
89 92
         $this->lastPd = Utils::asyncExecute($command);
Please login to merge, or discard this patch.
Tests/Pipe/ReadableFifoTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@
 block discarded – undo
59 59
         $this->assertFalse($fifo->isBlocking());
60 60
     }
61 61
 
62
+    /**
63
+     * @param string $command
64
+     */
62 65
     protected function syncExecute($command)
63 66
     {
64 67
         $this->lastPd = Utils::asyncExecute($command);
Please login to merge, or discard this patch.
Tests/Pipe/WritableFifoTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@
 block discarded – undo
68 68
         $this->assertFalse($fifo->isBlocking());
69 69
     }
70 70
 
71
+    /**
72
+     * @param string $command
73
+     */
71 74
     protected function syncExecute($command)
72 75
     {
73 76
         $this->lastPd = Utils::asyncExecute($command);
Please login to merge, or discard this patch.