Skip to content

Commit c2b12a1

Browse files
authored
dont set DbView alias in service provider
1 parent e21ea87 commit c2b12a1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: src/Flynsarmy/DbBladeCompiler/DbBladeCompilerServiceProvider.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@ public function register()
4848
});
4949

5050
$this->app->booting(function () {
51-
$loader = \Illuminate\Foundation\AliasLoader::getInstance();
52-
$loader->alias('DbView', DbView::class);
51+
$loader = \Illuminate\Foundation\AliasLoader::getInstance();
5352
});
5453
}
5554

@@ -63,4 +62,4 @@ public function provides()
6362
return array();
6463
}
6564

66-
}
65+
}

0 commit comments

Comments
 (0)