Changed set_wordwrap() to cast the parameter as a boolean instead of using a ternary. Also fixed the doc block.
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index f1d65a3..28a3d17 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -477,12 +477,12 @@
* Set Wordwrap
*
* @access public
- * @param string
+ * @param bool
* @return void
*/
public function set_wordwrap($wordwrap = TRUE)
{
- $this->wordwrap = ($wordwrap === FALSE) ? FALSE : TRUE;
+ $this->wordwrap = (bool) $wordwrap;
return $this;
}