Psalm
Get started
Documentation
Paid support
Plugins
Blog
GitHub
<?php declare(strict_types = 1); abstract class HelloWorld { abstract public function getChild(): ?HelloWorld; public function sayHello(): HelloWorld { $foo = null !== $this->getChild(); if ($foo) { return $this->getChild(); } throw new \Exception(); } }
Snippet created on June 23 2021 at 12:55 UTC
Settings
Get link