php bin/console translation:extract pt --keep --config=app --dir=./src/AppBundle/
in FileExtractor.php line 223:
Could not parse "./src/AppBundle/Entity/HistoryPrepaid.php": Syntax error,
unexpected '?' on line 200
File content :
/**
* @return PaymentDetails
*/
public function getPaymentDetails(): ?PaymentDetails
{
return $this->paymentDetails;
}
line 200 public function getPaymentDetails(): ?PaymentDetails
Actual behavior
File content :
line 200 public function getPaymentDetails(): ?PaymentDetails