|
@@ -29,7 +29,7 @@ class OrganizationRepository extends BaseApiRepository
|
|
|
* Get the organization by Id
|
|
* Get the organization by Id
|
|
|
*
|
|
*
|
|
|
* @param int $id The id of the organization
|
|
* @param int $id The id of the organization
|
|
|
- * @return Organization
|
|
|
|
|
|
|
+ * @return array
|
|
|
* @throws ApiRequestException
|
|
* @throws ApiRequestException
|
|
|
*/
|
|
*/
|
|
|
public function findById($id) {
|
|
public function findById($id) {
|
|
@@ -46,7 +46,7 @@ class OrganizationRepository extends BaseApiRepository
|
|
|
* Get the organization by name
|
|
* Get the organization by name
|
|
|
*
|
|
*
|
|
|
* @param string name The name of the organization
|
|
* @param string name The name of the organization
|
|
|
- * @return Organization
|
|
|
|
|
|
|
+ * @return array
|
|
|
* @throws \Exception
|
|
* @throws \Exception
|
|
|
* @throws ApiRequestException
|
|
* @throws ApiRequestException
|
|
|
*/
|
|
*/
|
|
@@ -67,7 +67,7 @@ class OrganizationRepository extends BaseApiRepository
|
|
|
* @param int $id The id of the organization
|
|
* @param int $id The id of the organization
|
|
|
* @param array $searchParams An array of parameters which will be passed to the Api request as URI parameters
|
|
* @param array $searchParams An array of parameters which will be passed to the Api request as URI parameters
|
|
|
* @param int $page
|
|
* @param int $page
|
|
|
- * @return array
|
|
|
|
|
|
|
+ * @return ApiPagedCollection
|
|
|
* @throws ApiRequestException
|
|
* @throws ApiRequestException
|
|
|
*/
|
|
*/
|
|
|
public function findChildrenById(int $id, $searchParams = [], $page = 1)
|
|
public function findChildrenById(int $id, $searchParams = [], $page = 1)
|