Completed
Push — master ( d0cb4d...11b924 )
by Hu
10:24 queued 06:45
created
src/Reader/TailReader.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     /**
65 65
      * read from stream
66 66
      * @param null $length
67
-     * @return bool|string If there is no more data to read, the process will be blocked
67
+     * @return string If there is no more data to read, the process will be blocked
68 68
      */
69 69
     public function read($length = null)
70 70
     {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,8 +51,8 @@  discard block
 block discarded – undo
51 51
     {
52 52
         $command = "tail -F {$this->file}";
53 53
         $descriptors = array(
54
-            0 => array("pipe", "r"),  // stdin is a pipe that the child will read from
55
-            1 => array("pipe", "w"),  // stdout is a pipe that the child will write to
54
+            0 => array("pipe", "r"), // stdin is a pipe that the child will read from
55
+            1 => array("pipe", "w"), // stdout is a pipe that the child will write to
56 56
             2 => array("file", $this->error_file, "a") // stderr is a file to write to
57 57
         );
58 58
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      */
78 78
     public function close()
79 79
     {
80
-        if(!is_resource($this->process)) {
80
+        if (!is_resource($this->process)) {
81 81
             return;
82 82
         }
83 83
         $status = proc_get_status($this->process);
Please login to merge, or discard this patch.