Skip to content

Commit e5e9313

Browse files
gzioloclaude
andcommitted
Connectors: Format PHPStan Connector type as multi-line.
Matches the convention used across the codebase for complex phpstan-type definitions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5e3e50f commit e5e9313

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

src/wp-includes/class-wp-connector-registry.php

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,19 @@
1515
* @since 7.0.0
1616
* @access private
1717
*
18-
* @phpstan-type Connector array{ name: string, description: string, type: string, authentication: array{ method: string, credentials_url?: string|null, setting_name?: string }, plugin?: array{ slug: string } }
18+
* @phpstan-type Connector array{
19+
* name: string,
20+
* description: string,
21+
* type: string,
22+
* authentication: array{
23+
* method: string,
24+
* credentials_url?: string|null,
25+
* setting_name?: string
26+
* },
27+
* plugin?: array{
28+
* slug: string
29+
* }
30+
* }
1931
*/
2032
final class WP_Connector_Registry {
2133
/**

0 commit comments

Comments
 (0)