Skip to content
Snippets Groups Projects
Unverified Commit 735b9fb8 authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

Fixup code

parent 0b8a9fca
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,9 @@ class TimestampFormatter implements OutputFormatterInterface { ...@@ -31,6 +31,9 @@ class TimestampFormatter implements OutputFormatterInterface {
/** @var IConfig */ /** @var IConfig */
protected $config; protected $config;
/** @var OutputFormatterInterface */
protected $formatter;
/** /**
* @param IConfig $config * @param IConfig $config
* @param OutputFormatterInterface $formatter * @param OutputFormatterInterface $formatter
...@@ -75,7 +78,7 @@ class TimestampFormatter implements OutputFormatterInterface { ...@@ -75,7 +78,7 @@ class TimestampFormatter implements OutputFormatterInterface {
* @return bool * @return bool
*/ */
public function hasStyle($name) { public function hasStyle($name) {
$this->formatter->hasStyle($name); return $this->formatter->hasStyle($name);
} }
/** /**
...@@ -83,6 +86,7 @@ class TimestampFormatter implements OutputFormatterInterface { ...@@ -83,6 +86,7 @@ class TimestampFormatter implements OutputFormatterInterface {
* *
* @param string $name * @param string $name
* @return OutputFormatterStyleInterface * @return OutputFormatterStyleInterface
* @throws \InvalidArgumentException When style isn't defined
*/ */
public function getStyle($name) { public function getStyle($name) {
return $this->formatter->getStyle($name); return $this->formatter->getStyle($name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment