phpcs
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Successful in 51s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Failing after 54s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Successful in 1m1s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m1s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m6s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m5s
PHPUnit / PHPUnit – PHP 8.4 (pull_request) Successful in 1m20s

This commit is contained in:
André Menrath 2024-12-15 13:44:57 +01:00
parent cd451131fa
commit 6e92f2a5b8
3 changed files with 3 additions and 3 deletions

View file

@ -178,7 +178,7 @@ class Event_Sources {
* *
* @param string $actor The Actor URL. * @param string $actor The Actor URL.
* *
* @return WP_Post|false|null Post data on success, false or null on failure. * @return WP_Post|false|null Post data on success, false or null on failure.
*/ */
public static function remove_event_source( $actor ) { public static function remove_event_source( $actor ) {
$post_id = Event_Source::get_wp_post_from_activitypub_actor_id( $actor ); $post_id = Event_Source::get_wp_post_from_activitypub_actor_id( $actor );

View file

@ -349,7 +349,7 @@ class GatherPress {
$address = (array) $address; $address = (array) $address;
} }
if ( ! is_array( $address ) || ! isset( $address['type'] ) ){ if ( ! is_array( $address ) || ! isset( $address['type'] ) ) {
return ''; return '';
} }

View file

@ -30,7 +30,7 @@ require_once ABSPATH . 'wp-admin/includes/plugin.php';
/** /**
* Class Setup. * Class Setup.
*
* This class is responsible for initializing Event Bridge for ActivityPub. * This class is responsible for initializing Event Bridge for ActivityPub.
* *
* @since 1.0.0 * @since 1.0.0