symfony / panther

A browser testing and web crawling library for PHP and Symfony
MIT License
2.9k stars 213 forks source link

Fix phpstan violations #511

Closed trakos closed 2 years ago

trakos commented 2 years ago

Just some simple fixes to fix CI errors.

trakos commented 2 years ago

@dunglas I've rebased on 1.x and changed target.

It seems that MR https://github.com/symfony/panther/pull/521 was merged first, and it had similar changes. Some of my changes were the same. However, one error was ignored instead of being fixed, so I think that it's still worth merging this.

On master it was fixed as part of symfony upgrade and cleanup.

dunglas commented 2 years ago

Thanks!!