From 91312ab695b6922652d84f323139a479fcada5e2 Mon Sep 17 00:00:00 2001 From: Jake Spurlock Date: Mon, 11 Nov 2019 18:48:06 +0000 Subject: [PATCH] Tests: Fix a typo in an inline comment. Fix a regression from [46568]. Props david.binda. See #48312. git-svn-id: https://develop.svn.wordpress.org/trunk@46707 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/actions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/actions.php b/tests/phpunit/tests/actions.php index fe30465774..74b9a4605e 100644 --- a/tests/phpunit/tests/actions.php +++ b/tests/phpunit/tests/actions.php @@ -161,10 +161,10 @@ class Tests_Actions extends WP_UnitTestCase { function test_action_args_with_php4_syntax() { $a = new MockAction(); $tag = __FUNCTION__; - $val = new stdClass; + $val = new stdClass(); add_action( $tag, array( &$a, 'action' ) ); - // Ņall the action with PHP 4 notation for passing object by reference. + // Call the action with PHP 4 notation for passing object by reference. do_action( $tag, array( &$val ) ); $call_count = $a->get_call_count();