Passed
Branch master (e12fd2)
by mahdi
01:43
created
AES.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,9 +41,9 @@
 block discarded – undo
41 41
     public function encrypt($data)
42 42
     {
43 43
         if ($this->iv) {
44
-        	$iv = $this->iv;
44
+            $iv = $this->iv;
45 45
         } else {
46
-        	$iv = base64_encode(random_bytes(openssl_cipher_iv_length($this->cipher)));
46
+            $iv = base64_encode(random_bytes(openssl_cipher_iv_length($this->cipher)));
47 47
         }
48 48
 
49 49
         $encrypted = openssl_encrypt($data, $this->cipher, base64_decode($this->key), 0, base64_decode($iv));
Please login to merge, or discard this patch.