Allow going back to a previous commit

This commit is contained in:
Tim
2023-04-05 22:46:37 +02:00
parent e461a7ad35
commit 4e56fed76d
6 changed files with 93 additions and 6 deletions

View File

@ -4,7 +4,6 @@ namespace App\Service;
use App\Entity\User;
use App\Git\CustomGitRepository;
use CzProject\GitPhp\GitRepository;
class SnipService
{
@ -42,7 +41,7 @@ class SnipService
return file_get_contents($this->getSnipPath());
}
public function getRepo(): GitRepository
public function getRepo(): CustomGitRepository
{
return $this->repo;
}