Bulk substitution across all PHP files in src/ and test/. Covers namespace declarations, use statements, fully-qualified class references, and @package PHPDoc tags. No logic changes.
29 lines
477 B
PHP
29 lines
477 B
PHP
<?php
|
|
|
|
namespace IndifferentKetchup\Codex\Analysis;
|
|
|
|
/**
|
|
* Class Solution
|
|
*
|
|
* @package IndifferentKetchup\Codex\Analysis
|
|
*/
|
|
abstract class Solution implements SolutionInterface
|
|
{
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function __toString(): string
|
|
{
|
|
return $this->getMessage();
|
|
}
|
|
|
|
/**
|
|
* @return array
|
|
*/
|
|
public function jsonSerialize(): array
|
|
{
|
|
return [
|
|
'message' => $this->getMessage()
|
|
];
|
|
}
|
|
} |