Fixes #4674 Facility return single record (#4675)
commitcc3660630480b0188a7825efdb8c31be37770da7
authorStephen Nielson <stephen@nielson.org>
Tue, 12 Oct 2021 11:34:23 +0000 (12 07:34 -0400)
committerGitHub <noreply@github.com>
Tue, 12 Oct 2021 11:34:23 +0000 (12 07:34 -0400)
treeee438d94dce78ba0c41b559b9236f86161b4c714
parent6d0b55ec74eb39e50ef0d9e4c733b122dd055ccb
Fixes #4674 Facility return single record (#4675)

* Fixes #4674 Facility return single record

Closes #4674.  We changed the API interface of the
facility->getFacilityForUser method so it was returning an array of
values instead of the single record value (as an associative array).

* Fix associative array issue.

* Fix styles.
src/Services/FacilityService.php
tests/Tests/Services/FacilityServiceTest.php