Skip to content
Snippets Groups Projects

PHP7-ify Order Header classes, add `ServiceResponseInterface`

13 files
+ 74
49
Compare changes
  • Side-by-side
  • Inline
Files
13
<?php
namespace edu\wisc\services\cbs\api;
use edu\wisc\services\cbs\common\AbstractServiceResponse;
use edu\wisc\services\cbs\common\ServiceResponseInterface;
/**
* A mock implementation of a CBS service.
@@ -12,9 +12,9 @@ interface MockService extends Service
/**
* Creates a mock implementation of a {@link Service}.
*
* Service will respond with the given {@link AbstractServiceResponse}, or a successful response if one is not
* Service will respond with the given {@link ServiceResponseInterface}, or a successful response if one is not
* given.
* @param AbstractServiceResponse|null $response defaults to successful if null
* @param ServiceResponseInterface|null $response defaults to successful if null
*/
public function __construct(AbstractServiceResponse $response = null);
public function __construct(ServiceResponseInterface $response = null);
}
Loading