Skip to content

Commit 8efa363

Browse files
Bump php-stubs/woocommerce-stubs from 10.2.0 to 10.3.4 (#14392)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pascal Birchler <pascalb@google.com>
1 parent ec9ca9f commit 8efa363

File tree

3 files changed

+22
-13
lines changed

3 files changed

+22
-13
lines changed

composer.lock

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

includes/Post_Type_Base.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ public function on_plugin_deactivation( bool $network_wide ): void {
161161
* Post type slug.
162162
*
163163
* @since 1.14.0
164+
*
165+
* @phpstan-return lowercase-string&non-empty-string
164166
*/
165167
abstract public function get_slug(): string;
166168

tests/phpunit/integration/tests/Admin/Dashboard.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,15 @@ class Dashboard extends DependencyInjectedTestCase {
4545

4646
protected static int $user_id;
4747

48+
/**
49+
* @var lowercase-string&non-empty-string
50+
*/
4851
protected static string $cpt_has_archive = 'cpt_has_archive';
49-
protected static string $cpt_no_archive = 'cpt_no_archive';
52+
53+
/**
54+
* @var lowercase-string&non-empty-string
55+
*/
56+
protected static string $cpt_no_archive = 'cpt_no_archive';
5057

5158
private \Google\Web_Stories\Admin\Dashboard $instance;
5259

0 commit comments

Comments
 (0)