From acd1caa1144f558002214d5991f551f232482200 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 3 Oct 2018 09:45:54 +0000 Subject: [PATCH] The function is only needed in the same class --- src/Protocol/ActivityPub/Transmitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Protocol/ActivityPub/Transmitter.php b/src/Protocol/ActivityPub/Transmitter.php index aeb27a819c..17ad0d350f 100644 --- a/src/Protocol/ActivityPub/Transmitter.php +++ b/src/Protocol/ActivityPub/Transmitter.php @@ -442,7 +442,7 @@ class Transmitter * * @return activity type */ - public static function getTypeOfItem($item) + private static function getTypeOfItem($item) { if ($item['verb'] == ACTIVITY_POST) { if ($item['created'] == $item['edited']) {