* @license https://opensource.org/licenses/MIT MIT License */ declare(strict_types=1); namespace Danjones000\Spy; /** * An example class to act as a starting point for developing your library */ class Example { /** * Returns a greeting statement using the provided name */ public function greet(string $name = 'World'): string { return "Hello, {$name}!"; } }