Skip to content

Commit db543ff

Browse files
committed
Remove unused argument
1 parent ced8fdf commit db543ff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/repositories/CodexRepositoryGit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,12 +282,12 @@ private function getDirectories($path)
282282
private function getStoragePath($manual, $version)
283283
{
284284
$storagePath = storage_path('codex/'.$manual.'/'.$version);
285-
if (!file_exists($storagePath)) {
285+
if ( ! file_exists($storagePath)) {
286286
$this->files->copyDirectory($this->storagePath.'/'.$manual, $storagePath, 0);
287287
$this->git->setRepository($storagePath);
288288
$this->git->checkout($version);
289289
} else {
290-
$this->cache->remember("$manual.$version.checkout", 10, function() use ($manual, $version, $storagePath) {
290+
$this->cache->remember("$manual.$version.checkout", 10, function() use ($version, $storagePath) {
291291
$this->git->setRepository($storagePath);
292292
$this->git->pull('origin', $version);
293293

0 commit comments

Comments
 (0)