Made objects conversion methods public

This commit is contained in:
Pierre
2018-05-13 20:15:11 +02:00
parent 5ad0ae5c56
commit 21d00c0a00
2 changed files with 4 additions and 4 deletions

View File

@ -340,7 +340,7 @@ class friendsController{
* friendship should be returned or not
* @return array Informations about the friend readable by the api
*/
private function parseFriendAPI(Friend $friend, bool $all_infos = FALSE) : array {
public static function parseFriendAPI(Friend $friend, bool $all_infos = FALSE) : array {
//Parse informations about the friend
$data = array(