mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Minor fixes here and there
This commit is contained in:
parent
02d36c692e
commit
f409c5bc47
3 changed files with 4 additions and 4 deletions
|
@ -5,6 +5,7 @@ namespace Tests;
|
|||
use App\Models\User;
|
||||
use Artisan;
|
||||
use Illuminate\Contracts\Console\Kernel;
|
||||
use Illuminate\Foundation\Application;
|
||||
|
||||
trait CreatesApplication
|
||||
{
|
||||
|
@ -21,7 +22,7 @@ trait CreatesApplication
|
|||
/**
|
||||
* Creates the application.
|
||||
*
|
||||
* @return \Illuminate\Foundation\Application
|
||||
* @return Application
|
||||
*/
|
||||
public function createApplication()
|
||||
{
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
<?php
|
||||
|
||||
namespace App\Services\Streamers {
|
||||
function file_exists()
|
||||
{
|
||||
function file_exists() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ trait InteractsWithIoc
|
|||
*/
|
||||
protected function mockIocDependency($abstract, ...$args)
|
||||
{
|
||||
return tap(Mockery::mock($abstract, ...$args), function ($mocked) use ($abstract) {
|
||||
return tap(Mockery::mock($abstract, ...$args), static function ($mocked) use ($abstract) {
|
||||
app()->instance($abstract, $mocked);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue