use-event-listener icon indicating copy to clipboard operation
use-event-listener copied to clipboard

Add @property for magic getters in Results

Open dretsa opened this issue 3 years ago • 1 comments

General information

  • SDK/Library version: 6.5.1
  • Environment: Both
  • Language, language version, and OS: PHP 8.1 - Linux amd64

Issue description

PHPStan is going mental when analysing analysing results from $gateway->transaction()->sale(...), because there are no doocs. Would be nice there was PHPDoc @property annotations on at least Transaction and Error classes.

dretsa avatar Jan 11 '22 14:01 dretsa

Hi I am having this same issue - seems to be the same as issue #310 These did exist prior to 6.5.0 but were stripped out in https://github.com/braintree/braintree_php/commit/e35c2a2d74a10e9cec5932506486e4b8bccfa4ba

slt avatar Mar 07 '22 06:03 slt

Hey folks, going to close this issue as it is the same as #310. Will move conversation there

hollabaq86 avatar Sep 28 '22 16:09 hollabaq86