From 3bb6ab6eb4098b3b7f216b23bed7bcabb71f0501 Mon Sep 17 00:00:00 2001 From: Antonio Carlos Ribeiro Date: Thu, 2 Apr 2020 09:18:09 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- src/Google2FA.php | 8 ++++---- src/ServiceProvider.php | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Google2FA.php b/src/Google2FA.php index d639226..e9ff4e9 100644 --- a/src/Google2FA.php +++ b/src/Google2FA.php @@ -259,10 +259,10 @@ protected function updateCurrentAuthTime() public function verifyGoogle2FA($secret, $one_time_password) { return $this->verifyKey( - $secret, - $one_time_password, - $this->config('window'), - null, // $timestamp + $secret, + $one_time_password, + $this->config('window'), + null, // $timestamp $this->getOldTimestamp() ?: null ); } diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 3fb0374..963bac2 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -22,7 +22,8 @@ private function configurePaths() private function mergeConfig() { $this->mergeConfigFrom( - __DIR__.'/config/config.php', 'google2fa' + __DIR__.'/config/config.php', + 'google2fa' ); }