Линтовка
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Copyright (c) 2025, Антон Аксенов
|
||||
* This file is part of m3u.su project
|
||||
@@ -98,7 +99,7 @@ class TwigExtention extends AbstractExtension
|
||||
*/
|
||||
public function toDate(?float $timestamp, string $format = 'd.m.Y H:i:s'): string
|
||||
{
|
||||
return $timestamp === null ? '' : date($format, (int)$timestamp);
|
||||
return $timestamp === null ? '' : date($format, (int) $timestamp);
|
||||
}
|
||||
|
||||
public function arrayValues($value, ...$args)
|
||||
|
||||
Reference in New Issue
Block a user