Skip to content

Commit 714f5c5

Browse files
committed
Document that plugin array key is not-nullable in wp_get_connectors()/wp_get_connector() return type
1 parent a0d8953 commit 714f5c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-includes/connectors.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function wp_is_connector_registered( string $id ): bool {
7676
* constant_name?: non-empty-string,
7777
* env_var_name?: non-empty-string
7878
* },
79-
* plugin?: array{
79+
* plugin: array{
8080
* file?: non-empty-string,
8181
* is_active: callable(): bool,
8282
* }
@@ -141,7 +141,7 @@ function wp_get_connector( string $id ): ?array {
141141
* constant_name?: non-empty-string,
142142
* env_var_name?: non-empty-string
143143
* },
144-
* plugin?: array{
144+
* plugin: array{
145145
* file?: non-empty-string,
146146
* is_active: callable(): bool,
147147
* }

0 commit comments

Comments
 (0)