Answers for "syntax error, unexpected '->"

0

syntax error, unexpected '->

$purchaseOrder = (new PurchaseOrderFactory)->instance();
Posted by: Guest on April-30-2021
0

syntax error, unexpected '->

$purchaseFactory = new PurchaseOrderFactory;
$purchaseOrder = $purchaseFactory->instance();
Posted by: Guest on April-30-2021

Code answers related to "syntax error, unexpected '->"

Browse Popular Code Answers by Language