Thomas Portelangeblog.lekoala.be·Sep 20, 2024Using assert to fix PHPStan errorsI’ve been using more and more PHPStan recently and it’s been a real pleasure to improve my codebases. Being strict is nice, but sometimes it can also be inconvenient. A lot of built-in methods in php can return false. Or sometimes, you have a “mixed”...PHPAdd a thoughtful commentNo comments yetBe the first to start the conversation.