Skip to content

Commit 3669295

Browse files
committed
fix: align gitsync proposal lint
1 parent de96e35 commit 3669295

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

inc/Abilities/GitSyncAbilities.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ private function registerAbilities(): void {
224224
'type' => 'object',
225225
'required' => array( 'slug', 'message' ),
226226
'properties' => array(
227-
'slug' => array( 'type' => 'string' ),
228-
'message' => array( 'type' => 'string' ),
229-
'paths' => array(
227+
'slug' => array( 'type' => 'string' ),
228+
'message' => array( 'type' => 'string' ),
229+
'paths' => array(
230230
'type' => 'array',
231231
'items' => array( 'type' => 'string' ),
232232
'description' => 'Optional explicit list of relative paths. If omitted, every file with a SHA mismatch against upstream (filtered by allowed_paths) is submitted.',

inc/GitSync/GitSyncProposer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function submit( GitSyncBinding $binding, array $args ): array|\WP_Error
9393
);
9494
}
9595

96-
$proposal = $this->normalizeProposalKey( (string) ( $args['proposal'] ?? '' ));
96+
$proposal = $this->normalizeProposalKey( (string) ( $args['proposal'] ?? '' ));
9797
if ( is_wp_error($proposal) ) {
9898
return $proposal;
9999
}

0 commit comments

Comments
 (0)