mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-11 13:39:30 +00:00
Fixed code style.
This commit is contained in:
parent
2853e471c4
commit
d0b1024d80
212 changed files with 495 additions and 1005 deletions
|
|
@ -58,7 +58,7 @@ class UTCDateTimeType extends DateTimeType
|
|||
|
||||
public function convertToDatabaseValue($value, AbstractPlatform $platform)
|
||||
{
|
||||
if (! self::$utc_timezone) {
|
||||
if (!self::$utc_timezone) {
|
||||
self::$utc_timezone = new DateTimeZone('UTC');
|
||||
}
|
||||
|
||||
|
|
@ -71,7 +71,7 @@ class UTCDateTimeType extends DateTimeType
|
|||
|
||||
public function convertToPHPValue($value, AbstractPlatform $platform)
|
||||
{
|
||||
if (! self::$utc_timezone) {
|
||||
if (!self::$utc_timezone) {
|
||||
self::$utc_timezone = new DateTimeZone('UTC');
|
||||
}
|
||||
|
||||
|
|
@ -85,7 +85,7 @@ class UTCDateTimeType extends DateTimeType
|
|||
self::$utc_timezone
|
||||
);
|
||||
|
||||
if (! $converted) {
|
||||
if (!$converted) {
|
||||
throw ConversionException::conversionFailedFormat($value, $this->getName(), $platform->getDateTimeFormatString());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue