mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
chore: Remove dead code
This commit is contained in:
@@ -90,13 +90,6 @@ class TestCase extends \Flarum\Testing\integration\TestCase
|
||||
$composer->run(new StringInput($command));
|
||||
}
|
||||
|
||||
protected function errorGuessedCause(ResponseInterface $response): ?string
|
||||
{
|
||||
$details = $this->errorDetails($response);
|
||||
|
||||
return $details['guessed_cause'] ?? null;
|
||||
}
|
||||
|
||||
protected function errorDetails(ResponseInterface $response): array
|
||||
{
|
||||
$json = json_decode((string) $response->getBody(), true);
|
||||
|
Reference in New Issue
Block a user