diff --git a/inc/Workspace/RemoteWorkspaceBackend.php b/inc/Workspace/RemoteWorkspaceBackend.php index 959eb35..ad8c157 100644 --- a/inc/Workspace/RemoteWorkspaceBackend.php +++ b/inc/Workspace/RemoteWorkspaceBackend.php @@ -1066,7 +1066,7 @@ public function git_push( string $handle, string $remote = 'origin', ?string $br */ private function resolve_handle( string $handle ): array|\WP_Error { $handle = $this->resolve_alias($handle); - $state = $this->state(); + $state = $this->state(); if ( isset($state['worktrees'][ $handle ]) ) { $worktree = (array) $state['worktrees'][ $handle ]; $worktree['handle'] = $handle; @@ -1093,7 +1093,7 @@ private function resolve_handle( string $handle ): array|\WP_Error { private function resolve_repo( string $repo_name ): string|\WP_Error { $repo_name = $this->resolve_alias($repo_name); - $state = $this->state(); + $state = $this->state(); if ( isset($state['repos'][ $repo_name ]['repo']) ) { return (string) $state['repos'][ $repo_name ]['repo']; }