2
0
forked from Wavyzz/dolibarr

Fix PhanTypeSuspiciousStringExpression

This commit is contained in:
MDW
2024-03-16 02:09:17 +01:00
parent 0a1cec7e9b
commit f252a283d2

View File

@@ -69,6 +69,9 @@ class CSMSFile
public $priority; public $priority;
public $class; public $class;
public $message; public $message;
/**
* @var bool
*/
public $nostop; public $nostop;
public $socid; public $socid;
@@ -242,7 +245,7 @@ class CSMSFile
fwrite($fp, "Priority: ".$this->priority."\n"); fwrite($fp, "Priority: ".$this->priority."\n");
fwrite($fp, "Class: ".$this->class."\n"); fwrite($fp, "Class: ".$this->class."\n");
fwrite($fp, "Deferred: ".$this->deferred."\n"); fwrite($fp, "Deferred: ".$this->deferred."\n");
fwrite($fp, "DisableStop: ".$this->nostop."\n"); fwrite($fp, "DisableStop: ".((string) (int) $this->nostop)."\n");
fwrite($fp, "DeliveryReceipt: ".$this->deliveryreceipt."\n"); fwrite($fp, "DeliveryReceipt: ".$this->deliveryreceipt."\n");
fwrite($fp, "Message:\n".$this->message); fwrite($fp, "Message:\n".$this->message);