Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
735b9fb8
Unverified
Commit
735b9fb8
authored
7 years ago
by
Roeland Jago Douma
Browse files
Options
Downloads
Patches
Plain Diff
Fixup code
Signed-off-by:
Roeland Jago Douma
<
roeland@famdouma.nl
>
parent
0b8a9fca
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/private/Console/TimestampFormatter.php
+5
-1
5 additions, 1 deletion
lib/private/Console/TimestampFormatter.php
with
5 additions
and
1 deletion
lib/private/Console/TimestampFormatter.php
+
5
−
1
View file @
735b9fb8
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment