phpcs
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Successful in 47s
PHPUnit / PHPUnit – PHP 7.4 (pull_request) Failing after 58s
PHPUnit / PHPUnit – PHP 8.0 (pull_request) Failing after 57s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Failing after 1m11s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Failing after 1m0s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Failing after 54s

This commit is contained in:
André Menrath 2024-11-21 16:26:22 +01:00
parent dc24f292be
commit 9fa705576f

View file

@ -323,7 +323,7 @@ abstract class Event extends Post {
* @param array $args The arguments for which components to include. * @param array $args The arguments for which components to include.
* @return string The formatted address. * @return string The formatted address.
*/ */
protected static function format_address( $address, $args = null) { protected static function format_address( $address, $args = null ) {
if ( is_string( $address ) ) { if ( is_string( $address ) ) {
return esc_html( $address ); return esc_html( $address );
} }