summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Morris <daniel@honestempire.com>2012-10-04 11:24:16 +0200
committerDaniel Morris <daniel@honestempire.com>2012-10-04 11:24:16 +0200
commitada7775a47f32034ba589768612894c3cb6186ca (patch)
tree3db71445f0e49c5400a6ead588ad852df073a653
parenta9923f5dc131f5a18175b1df3cf3f80a93ffb464 (diff)
Removed redundant parenthesis around `in_array()`
-rw-r--r--system/libraries/Encrypt.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Encrypt.php b/system/libraries/Encrypt.php
index 3b04f7b06..679609251 100644
--- a/system/libraries/Encrypt.php
+++ b/system/libraries/Encrypt.php
@@ -484,7 +484,7 @@ class CI_Encrypt {
*/
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';
}
// --------------------------------------------------------------------