Apply fixes from StyleCI

This commit is contained in:
Manish Verma
2016-12-13 13:14:54 +00:00
committed by StyleCI Bot
parent 857d3004eb
commit 88f3df2180
161 changed files with 4729 additions and 3879 deletions

View File

@@ -4,20 +4,20 @@ namespace App\FaveoStorage;
use Illuminate\Support\ServiceProvider;
class StorageServiceProvider extends ServiceProvider {
class StorageServiceProvider extends ServiceProvider
{
/**
* Bootstrap the application events.
*
* @return void
*/
public function boot() {
$view_path = app_path() . DIRECTORY_SEPARATOR . 'FaveoStorage' . DIRECTORY_SEPARATOR . 'views';
public function boot()
{
$view_path = app_path().DIRECTORY_SEPARATOR.'FaveoStorage'.DIRECTORY_SEPARATOR.'views';
$this->loadViewsFrom($view_path, 'storage');
$lang_path = app_path() . DIRECTORY_SEPARATOR . 'FaveoStorage' . DIRECTORY_SEPARATOR . 'lang';
$this->loadTranslationsFrom($lang_path, "storage");
$lang_path = app_path().DIRECTORY_SEPARATOR.'FaveoStorage'.DIRECTORY_SEPARATOR.'lang';
$this->loadTranslationsFrom($lang_path, 'storage');
if (isInstall()) {
$controller = new Controllers\SettingsController();
@@ -25,7 +25,7 @@ class StorageServiceProvider extends ServiceProvider {
}
if (class_exists('Breadcrumbs')) {
require __DIR__ . '/breadcrumbs.php';
require __DIR__.'/breadcrumbs.php';
}
}
@@ -44,5 +44,4 @@ class StorageServiceProvider extends ServiceProvider {
}
}
}
}