We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c728760 commit df160a0Copy full SHA for df160a0
src/NetworkPort.php
@@ -304,21 +304,13 @@ public function post_updateItem($history = true)
304
$this->updateMetrics();
305
}
306
307
- /**
308
- * @param NetworkPort $source
309
- * @param bool $history
310
- *
311
- * @return false|int
312
- */
313
public function post_clone($source, $history)
314
{
315
$instantiation = $source->getInstantiation();
316
if ($instantiation !== false) {
317
$instantiation->fields[$instantiation->getIndexName()] = $this->getID();
318
- return $instantiation->clone([], $history);
+ $instantiation->clone([], $history);
319
320
-
321
- return false;
322
323
324
/**
0 commit comments