Passed
Push — develop ( a9c151...4fb714 )
by nguereza
05:12
created
src/Security/OTP/TOTP.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,8 +52,7 @@  discard block
 block discarded – undo
52 52
  * @class TOTP
53 53
  * @package Platine\Framework\Security\OTP
54 54
  */
55
-class TOTP
56
-{
55
+class TOTP {
57 56
     /**
58 57
      * The length of the secret
59 58
      * @var int
@@ -82,8 +81,7 @@  discard block
 block discarded – undo
82 81
      * Create new instance
83 82
      * @param string|null $secret
84 83
      */
85
-    public function __construct(?string $secret = null)
86
-    {
84
+    public function __construct(?string $secret = null) {
87 85
         if ($secret === null) {
88 86
             $secret = $this->generateSecret();
89 87
         }
Please login to merge, or discard this patch.