From 8696f9ed10c079bb51eda980f33bd3213985ac93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= Date: Sat, 18 Nov 2023 13:42:56 +0100 Subject: [PATCH] add more php docs --- includes/base/class-transformer-base.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/includes/base/class-transformer-base.php b/includes/base/class-transformer-base.php index a029b88..0602c9d 100644 --- a/includes/base/class-transformer-base.php +++ b/includes/base/class-transformer-base.php @@ -23,6 +23,7 @@ abstract class Transformer_Base { * By default all post types are supported. * * @since version_number_transformer_management_placeholder + * @return string[] An array containing all the supported post types. */ public function get_supported_post_types() { return \get_post_types( array(), 'names'); @@ -32,6 +33,8 @@ abstract class Transformer_Base { * Get the name used for registering the transformer with the ActivityPub plugin. * * @since version_number_transformer_management_placeholder + * + * @return string name */ abstract public function get_name(); @@ -39,6 +42,8 @@ abstract class Transformer_Base { * Get the display name for the ActivityPub transformer. * * @since version_number_transformer_management_placeholder + * + * @return string display name */ abstract public function get_title(); } \ No newline at end of file