Test Setup Failed
Branch master (b8e1fc)
by Ryosuke
08:01
created
examples/localhost/server.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -12,6 +12,10 @@  discard block
 block discarded – undo
12 12
         throw new \RuntimeException($error['message']);
13 13
     }
14 14
 }
15
+/**
16
+ * @param integer $status
17
+ * @param string $message
18
+ */
15 19
 function respond_rest($con, $status, $message, $content) {
16 20
     try {
17 21
         $length = strlen($content);
@@ -24,6 +28,11 @@  discard block
 block discarded – undo
24 28
     }
25 29
     fclose($con);
26 30
 }
31
+/**
32
+ * @param Closure $tick_function
33
+ * @param integer $tick
34
+ * @param integer $times
35
+ */
27 36
 function respond_streaming($con, $tick_function, $tick, $times) {
28 37
     try {
29 38
         fsend($con, "HTTP/1.1 200 OK\r\n");
Please login to merge, or discard this patch.
src/Co.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,6 @@  discard block
 block discarded – undo
62 62
      *
63 63
      * @access public
64 64
      * @static
65
-     * @param int $concurrency
66 65
      * @param bool $throw
67 66
      */
68 67
     public static function setDefaultThrow($throw)
@@ -451,7 +450,7 @@  discard block
 block discarded – undo
451 450
      *
452 451
      * @access private
453 452
      * @param Generator $value
454
-     * @return bool
453
+     * @return boolean|null
455 454
      */
456 455
     private function canThrow(\Generator $value)
457 456
     {
@@ -514,7 +513,7 @@  discard block
 block discarded – undo
514 513
      * @access private
515 514
      * @static
516 515
      * @param int|float|string $interval
517
-     * @return int
516
+     * @return double
518 517
      */
519 518
     private static function validateInterval($interval)
520 519
     {
Please login to merge, or discard this patch.