added comments about removing some old stuff
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Failing after 36s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m0s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m1s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m3s

This commit is contained in:
ruru4143 2024-09-29 12:52:17 +02:00
parent 516bfd33d8
commit a66dc74577
3 changed files with 6 additions and 6 deletions

View file

@ -45,7 +45,7 @@ final class Events_Manager extends Event_Transformer {
* @access public * @access public
* @return string Widget name. * @return string Widget name.
*/ */
public function get_transformer_name() { public function get_transformer_name() { // todo can we remove this or is this in use?
return 'activitypub-event-transformers/events-manager'; return 'activitypub-event-transformers/events-manager';
} }
@ -58,7 +58,7 @@ final class Events_Manager extends Event_Transformer {
* @access public * @access public
* @return string Widget title. * @return string Widget title.
*/ */
public function get_transformer_label() { public function get_transformer_label() { // todo can we remove this or is this in use?
return 'Events Manager'; return 'Events Manager';
} }
@ -71,7 +71,7 @@ final class Events_Manager extends Event_Transformer {
* @access public * @access public
* @return array Widget categories. * @return array Widget categories.
*/ */
public static function get_supported_post_types() { public static function get_supported_post_types() { // todo can we remove this or is this in use?
return array(); return array();
} }

View file

@ -29,7 +29,7 @@ final class GatherPress extends Event {
* *
* @var Event * @var Event
*/ */
protected $ap_object; protected $ap_object; // todo can we remove this or is this in use?
/** /**
* The current GatherPress Event object. * The current GatherPress Event object.
@ -69,7 +69,7 @@ final class GatherPress extends Event {
* @access public * @access public
* @return array Widget categories. * @return array Widget categories.
*/ */
public static function get_supported_post_types() { public static function get_supported_post_types() { // todo can we remove this or is this in use?
return array( GatherPress_Event::POST_TYPE ); return array( GatherPress_Event::POST_TYPE );
} }

View file

@ -28,7 +28,7 @@ final class VS_Event_List extends Event_Transformer {
* *
* @var Event * @var Event
*/ */
protected $ap_object; protected $ap_object; // todo can we remove this or is this in use?
/** /**
* Get the event location. * Get the event location.