mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 23:53:42 +08:00
Coding standards
This commit is contained in:
parent
8f02a5229a
commit
54ec8364d5
|
@ -215,7 +215,8 @@ class Application extends Container implements ApplicationContract
|
||||||
public function afterLoadingEnvironment(Closure $callback)
|
public function afterLoadingEnvironment(Closure $callback)
|
||||||
{
|
{
|
||||||
return $this->afterBootstrapping(
|
return $this->afterBootstrapping(
|
||||||
'Illuminate\Foundation\Bootstrap\DetectEnvironment', $callback
|
'Illuminate\Foundation\Bootstrap\DetectEnvironment',
|
||||||
|
$callback
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,10 +60,11 @@ class Migrator
|
||||||
* @param \Illuminate\Filesystem\Filesystem $files
|
* @param \Illuminate\Filesystem\Filesystem $files
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function __construct(MigrationRepositoryInterface $repository,
|
public function __construct(
|
||||||
|
MigrationRepositoryInterface $repository,
|
||||||
Resolver $resolver,
|
Resolver $resolver,
|
||||||
Filesystem $files)
|
Filesystem $files
|
||||||
{
|
) {
|
||||||
$this->files = $files;
|
$this->files = $files;
|
||||||
$this->resolver = $resolver;
|
$this->resolver = $resolver;
|
||||||
$this->repository = $repository;
|
$this->repository = $repository;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user