diff --git a/src/EncryptionBehavior.php b/src/EncryptionBehavior.php index 791a26d..fc8083c 100644 --- a/src/EncryptionBehavior.php +++ b/src/EncryptionBehavior.php @@ -26,7 +26,7 @@ public function tableMapFilter(&$script) { $encryptedColumnsDeclarationLocation = strpos($script, "ENCRYPTED_COLUMNS"); // If there is not yet an encrypted column declared in this map... - if ($encryptedColumnsDeclarationLocation == False) { + if ($encryptedColumnsDeclarationLocation === False) { // Insert after the CLASS_NAME declaration $insertLocation = strpos($script, ";", strpos($script, "const CLASS_NAME")) + 1;