Lint
This commit is contained in:
parent
0ffce6b25e
commit
329da67ad6
|
@ -100,9 +100,7 @@ abstract class TestCase extends BaseTestCase
|
||||||
public function stubIo(string $class, callable $mocker): self
|
public function stubIo(string $class, callable $mocker): self
|
||||||
{
|
{
|
||||||
$mock = Phake::mock($class);
|
$mock = Phake::mock($class);
|
||||||
|
|
||||||
$mocker($mock);
|
$mocker($mock);
|
||||||
|
|
||||||
app()->instance($class, $mock);
|
app()->instance($class, $mock);
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
|
Loading…
Reference in New Issue