Skip to content
Snippets Groups Projects
Commit a7b768ac authored by Demian Katz's avatar Demian Katz
Browse files

Avoid PHPMD warnings from work-in-progress code.

parent 9bdb55d5
No related merge requests found
......@@ -482,14 +482,16 @@ class XCNCIP extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterfa
* @throws \VuFind\Exception\Date
* @throws ILSException
* @return array Array of the patron's transactions on success.
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function getMyTransactions($patron)
{
/* TODO -- process response
$request = $this->getUserLookupRequest(
$patron['id'], 'Visible User Id', 'LoanedItemsDesired'
);
$response = $this->sendRequest($request);
// TODO -- process response
*/
return array();
}
......@@ -503,14 +505,16 @@ class XCNCIP extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterfa
* @throws \VuFind\Exception\Date
* @throws ILSException
* @return mixed Array of the patron's fines on success.
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function getMyFines($patron)
{
/* TODO -- process response
$request = $this->getUserLookupRequest(
$patron['id'], 'Visible User Id', 'UserFiscalAccountDesired'
);
$response = $this->sendRequest($request);
// TODO -- process response
*/
return array();
}
......@@ -524,14 +528,16 @@ class XCNCIP extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterfa
* @throws \VuFind\Exception\Date
* @throws ILSException
* @return array Array of the patron's holds on success.
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
public function getMyHolds($patron)
{
/* TODO -- process response
$request = $this->getUserLookupRequest(
$patron['id'], 'Visible User Id', 'RequestedItemsDesired'
);
$response = $this->sendRequest($request);
// TODO -- process response
*/
return array();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment