public function pop($stash = null)
    {
        $this->arguments[] = 'pop';
        if ($stash) {
            $this->arguments[] = 'stash@{' . $stash . '}';
        }
        return $this->run();
    }
public function pop($stash = null)
    {
        $this->arguments[] = 'pop';
        if ($stash) {
            $this->arguments[] = 'stash@{' . $stash . '}';
        }
        return $this->run();
    }
public function pop ( $ stash = null ) { $ this -> arguments [ ] = 'pop' ; if ( $ stash ) { $ this -> arguments [ ] = 'stash@{' . $ stash . '}' ; } return $ this -> run ( ) ; }
Remove a single stashed state from the stash list
and apply it on top of the current working tree state.

@param int|null $stash Takes the stash number.

@return mixed
Remove a single stashed state from the stash list and apply it on top of the current working tree state .