- Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- Fatal error: Cannot redeclare StaticNaming::whyNot() in /in/dLHHD on line 6
Process exited with code 255.
<?php
class StaticNaming
{
public static function whyNot(): ? Aye {}
public function whyNot(): ? Aye {}
}
class ACommandThatCanWerkStatically
{
public function __construct(
public string $template
) {}
public function execute(Dictionary $nameToReplacementMap): string
{}
public static function execute(string $template, Dictionary $nameToReplacementMap): string
{}
}