Changeset 57133 for trunk/tests/phpunit/includes/spy-rest-server.php
- Timestamp:
- 11/23/2023 02:39:16 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/spy-rest-server.php
r55027 r57133 26 26 */ 27 27 public function __call( $method, $args ) { 28 if ( ! method_exists( $this, $method ) ) { 29 throw new Error( sprintf( 'Call to undefined method %s::%s()', get_class( $this ), $method ) ); 30 } 31 28 32 return call_user_func_array( array( $this, $method ), $args ); 29 33 }
Note: See TracChangeset
for help on using the changeset viewer.