Skip to content

Commit 5ef3974

Browse files
committed
Update code comment on convert_relative_to_absolute_urls
1 parent 392dac6 commit 5ef3974

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ConvertKit_API_Traits.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1929,6 +1929,7 @@ public function get_segments(
19291929
*/
19301930
public function convert_relative_to_absolute_urls(\DOMNodeList $elements, string $attribute, string $url) // phpcs:ignore Squiz.Commenting.FunctionComment.IncorrectTypeHint, Generic.Files.LineLength.TooLong
19311931
{
1932+
// Store DOMNodeList in array, as iteration stops if a node is modified.
19321933
$nodes = [];
19331934
foreach ($elements as $element) {
19341935
$nodes[] = $element;

0 commit comments

Comments
 (0)