Skip to content

Commit

Permalink
Merge pull request #174 from browner12/type-hint
Browse files Browse the repository at this point in the history
typehint `Browser` in stub
  • Loading branch information
taylorotwell authored Mar 6, 2017
2 parents 11537ac + b7c9503 commit 8773151
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Console/stubs/test.stub
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace DummyNamespace;

use Tests\DuskTestCase;
use Laravel\Dusk\Browser;
use Illuminate\Foundation\Testing\DatabaseMigrations;

class DummyClass extends DuskTestCase
Expand All @@ -14,7 +15,7 @@ class DummyClass extends DuskTestCase
*/
public function testExample()
{
$this->browse(function ($browser) {
$this->browse(function (Browser $browser) {
$browser->visit('/')
->assertSee('Laravel');
});
Expand Down

0 comments on commit 8773151

Please sign in to comment.