helpscout / helpscout-api-php

PHP Wrapper for the Help Scout API
MIT License
98 stars 62 forks source link

Add isAssigned method to Thread object for convenience #230

Closed anthonyterrell closed 4 years ago

anthonyterrell commented 4 years ago

Closes #75

This pull request adds a isAssigned method to the Thread class to conveniently return a boolean to determine whether a Thread is assigned or not. This prevents developers from doing additional checks against mixed returns.