Skip to content

Commit

Permalink
refactor: add type hint to db-test-case
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhooks committed Apr 5, 2023
1 parent f9ade93 commit f0d597b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/includes/class-db-test-case.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use PHPUnit\Framework\TestCase;

class WP_Notifications_DB_TestCase extends TestCase {
protected function table_exists( $table_name ): bool {
protected function table_exists( string $table_name ): bool {
global $wpdb;
$expected = $wpdb->prefix . $table_name;
$result = $wpdb->get_var(
Expand Down

0 comments on commit f0d597b

Please sign in to comment.