Completed
Pull Request — master (#21)
by Freek
01:35 queued 37s
created

PrefixDateTime::modify()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Spatie\WebTinker\OutputModifiers;
4
5
class PrefixDateTime implements OutputModifier
6
{
7
    public function modify(string $output = ''): string
8
    {
9
        return '<span class="text-dimmed">'.now()->format('Y-m-d H:i:s').'</span><br>';
10
    }
11
}
12