Commit a0e596f4 authored by Apple's avatar Apple Committed by GitHub
Browse files

Forgot this

parent ddcce773
......@@ -71,7 +71,7 @@ abstract class Thread extends \Thread {
*
* @return bool
*/
public function start(int $options = PTHREADS_INHERIT_ALL){
public function start(?int $options = \PTHREADS_INHERIT_ALL){
ThreadManager::getInstance()->add($this);
if(!$this->isRunning() and !$this->isJoined() and !$this->isTerminated()){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment