Lint PHP code psr-12, add GH action
This commit is contained in:
@@ -17,16 +17,16 @@ class Login extends Page
|
||||
/**
|
||||
* Submit the form with the given credentials.
|
||||
*
|
||||
* @param \Laravel\Dusk\Browser $browser
|
||||
* @param string $email
|
||||
* @param string $password
|
||||
* @param \Laravel\Dusk\Browser $browser
|
||||
* @param string $email
|
||||
* @param string $password
|
||||
* @return void
|
||||
*/
|
||||
public function submit($browser, $email, $password)
|
||||
{
|
||||
$browser->type('email', $email)
|
||||
->type('password', $password)
|
||||
->press('@btn_login')
|
||||
->pause(500);
|
||||
->type('password', $password)
|
||||
->press('@btn_login')
|
||||
->pause(500);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user