Skip to content

Commit

Permalink
Update trait-installs-wordpress.php (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
anubisthejackle committed Jul 5, 2023
1 parent 584d284 commit c91d6bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mantle/testkit/concerns/trait-installs-wordpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static function installs_wordpress_set_up_before_class(): void {
*
* @deprecated Logic condensed into {@see \Mantle\Testing\Installation_Manager::after()}.
*/
$callback = function_exists( 'mantle_after_wordpress_install' ) ? 'mantle_after_wordpress_install' : 'null';
$callback = function_exists( 'mantle_after_wordpress_install' ) ? 'mantle_after_wordpress_install' : null;

\Mantle\Testing\manager()
->after( $callback )
Expand Down

0 comments on commit c91d6bb

Please sign in to comment.