Release 2.0.15 (#3970)
This commit is contained in:
@@ -93,6 +93,14 @@ class TimesheetQuery extends ActivityQuery implements BillableInterface
|
||||
return array_values($this->users);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if there is one or more users in the query
|
||||
*/
|
||||
public function hasUsers(): bool
|
||||
{
|
||||
return $this->timesheetUser !== null || \count($this->users) > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Limit the data exclusively to the user.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user