mirror of
https://github.com/sitelease/sugar-cube-client.git
synced 2025-11-02 04:52:30 +01:00
Updated some type hints
This commit is contained in:
@ -211,11 +211,11 @@ class PushEvent implements \JsonSerializable {
|
||||
|
||||
/**
|
||||
* Sets the URL for comparing the revisions.
|
||||
* @param UriInterface|string|null $value The URL for comparing the revisions.
|
||||
* @param UriInterface|null $value The URL for comparing the revisions.
|
||||
* @return $this This instance.
|
||||
*/
|
||||
function setCompareUrl($value): self {
|
||||
$this->compareUrl = is_string($value) ? new Uri($value) : $value;
|
||||
function setCompareUrl(?UriInterface $value): self {
|
||||
$this->compareUrl = $value;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user