mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-18 16:18:04 +00:00
Made objects conversion methods public
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user