Changeset 46127 for trunk/tests/phpunit/tests/hooks/doAction.php
- Timestamp:
- 09/15/2019 11:03:45 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/hooks/doAction.php
r42343 r46127 165 165 /** 166 166 * Use this rather than MockAction so we can test callbacks with no args 167 * 168 * @param mixed ...$args Optional arguments passed to the action. 167 169 */ 168 public function _action_callback() { 169 $args = func_get_args(); 170 public function _action_callback( ...$args ) { 170 171 $this->events[] = array( 171 172 'action' => __FUNCTION__,
Note: See TracChangeset
for help on using the changeset viewer.