Skip to content

Commit

Permalink
Merge pull request #6 from XueSiLf/master
Browse files Browse the repository at this point in the history
fix:function parameter type error
  • Loading branch information
kiss291323003 authored Apr 13, 2022
2 parents 1a068fa + bb137ed commit 9b927f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Point.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function pointId()
return $this->pointId;
}

function end(string $status = self::END_SUCCESS,$arg = null)
function end(int $status = self::END_SUCCESS,$arg = null)
{
if($this->status != self::END_UNKNOWN){
return false;
Expand Down Expand Up @@ -310,4 +310,4 @@ public function recursive(callable $call)
$this->nextPoint->recursive($call);
}
}
}
}

0 comments on commit 9b927f7

Please sign in to comment.