Cleaned up code by fixing all phpstan errors on level 4
requested to merge peterjaap/vurbis-interactive-magento-2.3.x-punch-out-extension:clean-up-code into master
Before cleanup;
[ERROR] Found 93 errors
After cleanup:
$ vendor/bin/phpstan analyse --level 4 --configuration ./phpstan.neon vendor/vurbis/magento2-punchout
19/19 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
[OK] No errors
Edited by Peter Jaap Blaakmeer