79536288

Date: 2025-03-26 11:44:56
Score: 0.5
Natty:
Report link

The cc and bcc might still be null or an empty string ("") when being passed, even though you assigned them as an array. Modify the constructor assignment to always ensure an array.

 $this->cc = is_array($cc) ? $cc : [];
 $this->bcc = is_array($bcc) ? $bcc : [];
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Arif Hassan