File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
src/core/etl/src/Flow/ETL/Row/Entry Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments