Skip to content

Commit

Permalink
Applied fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
ablunier authored and StyleCIBot committed Jun 17, 2016
1 parent bcf9fc6 commit 0d6c36e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config/anavel-translation.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
|
*/
'filedriver' => 'lang',
];
];
2 changes: 1 addition & 1 deletion src/Http/Controllers/FileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,4 @@ protected function ksortTree(&$array)

return true;
}
}
}
6 changes: 3 additions & 3 deletions src/Http/Controllers/HomeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ public function index()
}

if (array_key_exists('user', $files)) {
return new RedirectResponse(route('anavel-translation.file.edit', $files['user'][0]));
return new RedirectResponse(route('anavel-translation.file.edit', $files['user'][0]));
} else {
$key = key($files['vendor']);
return new RedirectResponse(route('anavel-translation.file.edit', [$key, $files['vendor'][$key]]));
return new RedirectResponse(route('anavel-translation.file.edit', [$key, $files['vendor'][$key]]));
}
}
}
}
1 change: 0 additions & 1 deletion src/Providers/ViewComposersServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class ViewComposersServiceProvider extends ServiceProvider
*/
public function boot()
{

}

/**
Expand Down
1 change: 0 additions & 1 deletion src/TranslationModuleProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public function register()
$this->mergeConfigFrom(__DIR__.'/../config/anavel-translation.php', 'anavel-translation');

$this->app->register('Anavel\Translation\Providers\ViewComposersServiceProvider');

}

/**
Expand Down

0 comments on commit 0d6c36e

Please sign in to comment.