Removed redundant parenthesis around `in_array()`
diff --git a/system/libraries/Encrypt.php b/system/libraries/Encrypt.php
index 3b04f7b..6796092 100644
--- a/system/libraries/Encrypt.php
+++ b/system/libraries/Encrypt.php
@@ -484,7 +484,7 @@
*/
public function set_hash($type = 'sha1')
{
- $this->_hash_type = (in_array($type, hash_algos())) ? $type : 'sha1';
+ $this->_hash_type = in_array($type, hash_algos()) ? $type : 'sha1';
}
// --------------------------------------------------------------------