改名
This commit is contained in:
@@ -24,7 +24,7 @@ abstract class Crontab extends BaseObject
|
||||
private string $name = '';
|
||||
|
||||
|
||||
private mixed $params = null;
|
||||
private mixed $params = [];
|
||||
|
||||
|
||||
private int $tickTime = 1;
|
||||
@@ -42,18 +42,6 @@ abstract class Crontab extends BaseObject
|
||||
private int $execute_number = 0;
|
||||
|
||||
|
||||
private bool $_stop = false;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public function stop()
|
||||
{
|
||||
$this->_stop = true;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return $this
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user