Changeset 44903 for trunk/tests/phpunit/includes/factory/class-wp-unittest-factory-callback-after-create.php
- Timestamp:
- 03/15/2019 12:15:08 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/factory/class-wp-unittest-factory-callback-after-create.php
r44497 r44903 6 6 * @var callable 7 7 */ 8 var$callback;8 public $callback; 9 9 10 10 /** … … 13 13 * @param callable $callback A callback function. 14 14 */ 15 function __construct( $callback ) {15 public function __construct( $callback ) { 16 16 $this->callback = $callback; 17 17 } … … 24 24 * @return mixed The possibly altered object. 25 25 */ 26 function call( $object ) {26 public function call( $object ) { 27 27 return call_user_func( $this->callback, $object ); 28 28 }
Note: See TracChangeset
for help on using the changeset viewer.