Skip to content

Commit f41f8d7

Browse files
committed
CS Fixes
1 parent f0555ba commit f41f8d7

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

src/core/etl/src/Flow/ETL/Row/Entry/JsonEntry.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,6 @@ public function toString() : string
140140
return \json_encode($this->value, JSON_THROW_ON_ERROR);
141141
}
142142

143-
public function withValue(mixed $value) : Entry
144-
{
145-
return new self($this->name, $value);
146-
}
147-
148143
public function type() : Type
149144
{
150145
return $this->type;
@@ -157,4 +152,9 @@ public function value() : ?array
157152
{
158153
return $this->value;
159154
}
155+
156+
public function withValue(mixed $value) : Entry
157+
{
158+
return new self($this->name, $value);
159+
}
160160
}

src/core/etl/src/Flow/ETL/Row/Entry/TimeEntry.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,4 +215,9 @@ public function value() : ?\DateInterval
215215
{
216216
return $this->value;
217217
}
218+
219+
public function withValue(mixed $value) : Entry
220+
{
221+
return new self($this->name, $value);
222+
}
218223
}

0 commit comments

Comments
 (0)