Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Oct 19, 2018
1 parent 00a2b00 commit b50f9f3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Illuminate\Foundation\Testing\Concerns;

use Closure;
use Mockery as m;
use Mockery;

trait InteractsWithContainer
{
Expand Down Expand Up @@ -42,7 +42,7 @@ protected function instance($abstract, $instance)
*/
protected function mock($abstract, Closure $mock)
{
return $this->instance($abstract, m::mock($abstract, $mock));
return $this->instance($abstract, Mockery::mock($abstract, $mock));
}

/**
Expand All @@ -54,6 +54,6 @@ protected function mock($abstract, Closure $mock)
*/
protected function spy($abstract, Closure $mock)
{
return $this->instance($abstract, m::spy($abstract, $mock));
return $this->instance($abstract, Mockery::spy($abstract, $mock));
}
}

0 comments on commit b50f9f3

Please sign in to comment.