cleaned up composer

This commit is contained in:
2026-02-18 20:17:19 -06:00
parent 3c94239da7
commit 3e153679bd
5952 changed files with 271417 additions and 203117 deletions
+3 -6
View File
@@ -21,9 +21,9 @@ final class NullOutputFormatter implements OutputFormatterInterface
/**
* {@inheritdoc}
*/
public function format(?string $message): void
public function format(?string $message): ?string
{
// do nothing
return null;
}
/**
@@ -31,11 +31,8 @@ final class NullOutputFormatter implements OutputFormatterInterface
*/
public function getStyle(string $name): OutputFormatterStyleInterface
{
if ($this->style) {
return $this->style;
}
// to comply with the interface we must return a OutputFormatterStyleInterface
return $this->style = new NullOutputFormatterStyle();
return $this->style ?? $this->style = new NullOutputFormatterStyle();
}
/**