Skip to content

Commit

Permalink
Missed return type
Browse files Browse the repository at this point in the history
  • Loading branch information
JoryHogeveen committed Nov 21, 2024
1 parent ef5b1cb commit 54d4045
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static function get_instance() {
return view_admin_as()->controller();
}

protected function setUp() {
protected function setUp(): void {
parent::setUp();
add_action( 'vaa_view_admin_as_update_view', array( 'VAA_Controller_UnitTest', 'action_callback' ) );
add_action( 'vaa_view_admin_as_reset_view', array( 'VAA_Controller_UnitTest', 'action_callback' ) );
Expand Down
2 changes: 1 addition & 1 deletion tests/unittestcase.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

class VAA_UnitTestCase extends WP_UnitTestCase
{
protected function setUp() {
protected function setUp(): void {
parent::setUp();
wp_set_current_user( 1 );
VAA_UnitTest_Factory::vaa_reinit();
Expand Down

0 comments on commit 54d4045

Please sign in to comment.