mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix more whitespace.
This commit is contained in:
parent
14bfd83dad
commit
0edbe0a123
1 changed files with 2 additions and 3 deletions
|
@ -350,7 +350,6 @@ class TimeHelper extends AppHelper {
|
|||
*/
|
||||
public function timeAgoInWords($dateTime, $options = array()) {
|
||||
$element = null;
|
||||
|
||||
$stringDate = '';
|
||||
|
||||
if (!empty($options['element'])) {
|
||||
|
@ -359,7 +358,7 @@ class TimeHelper extends AppHelper {
|
|||
'class' => 'time-ago-in-words',
|
||||
'title' => $dateTime
|
||||
);
|
||||
|
||||
|
||||
if (is_array($options['element'])) {
|
||||
$element = array_merge($element, $options['element']);
|
||||
} else {
|
||||
|
@ -394,7 +393,7 @@ class TimeHelper extends AppHelper {
|
|||
public function wasWithinLast($timeInterval, $dateString, $timezone = null) {
|
||||
return $this->_engine->wasWithinLast($timeInterval, $dateString, $timezone);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @see CakeTime::isWithinLast()
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue