Permalink
Browse files

Removed redundant parenthesis around `in_array()`

  • Loading branch information...
1 parent a9923f5 commit ada7775a47f32034ba589768612894c3cb6186ca @unfunco unfunco committed Oct 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/libraries/Encrypt.php
View
2 system/libraries/Encrypt.php
@@ -484,7 +484,7 @@ protected function _get_mode()
*/
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';
}
// --------------------------------------------------------------------

0 comments on commit ada7775

Please sign in to comment.