Browse Source

fix notice

walkor 7 năm trước cách đây
mục cha
commit
823aa7c9dd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Worker.php

+ 1 - 1
Worker.php

@@ -719,7 +719,7 @@ class Worker
 
         //Show last line
         $line_last = str_pad('', static::getSingleLineTotalLength(), '-') . PHP_EOL;
-        $content && static::safeEcho($line_last);
+        !empty($content) && static::safeEcho($line_last);
 
         if (static::$daemonize) {
             static::safeEcho("Input \"php $argv[0] stop\" to stop. Start success.\n\n");