Closed TwinMist closed 5 years ago
Any update on this as looks like it is in a lot of the code,
UserService
is correct if you're using the latest code in master
instead of the stable release. UserService
is an enum, a feature that's coming in the next release.
I recommend sticking with the stable release for now.
many thanks, how do you install stable release with composer?
composer require cwm/broadworks-connector:^2
Many thanks, now working using the stable release
PHP Fatal error: Uncaught TypeError: Argument 1 passed to CWM\BroadWorksConnector\Ocip\Models\UserServiceIsAssignedRequest::setServiceName() must be an instance of CWM\BroadWorksConnector\Ocip\Models\UserService, string given, called in and defined in /vendor/cwm/broadworks-connector/src/Ocip/Models/UserServiceIsAssignedRequest.php:73 is this correct? same with GroupServiceIsAssignedRequest public function setServiceName(\CWM\BroadWorksConnector\Ocip\Models\UserService $serviceName) { $this->serviceName = $serviceName; return $this; }