attempt to resolve backwards compatibility issues

This commit is contained in:
Matthew Exon 2023-01-24 13:55:00 +08:00
parent a9a5b112b0
commit 22e0ddc134

View file

@ -1,10 +1,11 @@
<?php <?php
class Test_Inbox extends WP_UnitTestCase { class Test_Inbox extends WP_UnitTestCase {
#[\ReturnTypeWillChange]
var $post_permalink; var $post_permalink;
var $user_url; var $user_url;
public function setUp(): void { public function setUp() {
$authordata = \get_userdata( 1 ); $authordata = \get_userdata( 1 );
$this->user_url = $authordata->user_url; $this->user_url = $authordata->user_url;