Skip to content

Commit 94a6092

Browse files
fix: align workspace reader assignments
1 parent 95ec3aa commit 94a6092

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

inc/Abilities/WorkspaceAbilities.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2559,7 +2559,7 @@ public static function showRepo( array $input ): array|\WP_Error {
25592559
* @return array Result.
25602560
*/
25612561
public static function readFile( array $input ): array|\WP_Error {
2562-
$input = self::normalize_mounted_workspace_path_input($input, array( 'repo' ));
2562+
$input = self::normalize_mounted_workspace_path_input($input, array( 'repo' ));
25632563
$workspace = new Workspace();
25642564
$reader = new WorkspaceReader($workspace);
25652565
if ( RemoteWorkspaceBackend::should_handle() && null !== self::showLocalWorkspaceHandleIfPresent($workspace, (string) ( $input['repo'] ?? '' )) ) {
@@ -2601,7 +2601,7 @@ public static function readFile( array $input ): array|\WP_Error {
26012601
* @return array Result.
26022602
*/
26032603
public static function listDirectory( array $input ): array|\WP_Error {
2604-
$input = self::normalize_mounted_workspace_path_input($input, array( 'repo' ));
2604+
$input = self::normalize_mounted_workspace_path_input($input, array( 'repo' ));
26052605
$workspace = new Workspace();
26062606
$reader = new WorkspaceReader($workspace);
26072607
if ( RemoteWorkspaceBackend::should_handle() && null !== self::showLocalWorkspaceHandleIfPresent($workspace, (string) ( $input['repo'] ?? '' )) ) {
@@ -2634,7 +2634,7 @@ public static function listDirectory( array $input ): array|\WP_Error {
26342634
* @return array Result.
26352635
*/
26362636
public static function grepFiles( array $input ): array|\WP_Error {
2637-
$input = self::normalize_mounted_workspace_path_input($input, array( 'repo' ));
2637+
$input = self::normalize_mounted_workspace_path_input($input, array( 'repo' ));
26382638
$workspace = new Workspace();
26392639
$reader = new WorkspaceReader($workspace);
26402640
if ( RemoteWorkspaceBackend::should_handle() && null !== self::showLocalWorkspaceHandleIfPresent($workspace, (string) ( $input['repo'] ?? '' )) ) {

0 commit comments

Comments
 (0)