Skip to content

Commit 6c9a37f

Browse files
remove extra newline, add constructor visibility modifier (WP-962)
changes from review comments Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ab17456 commit 6c9a37f

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

inc/Smartling/ContentTypes/Elementor/Elements/Unknown.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ public function getRelated(): RelatedContentInfo
4646
return $return;
4747
}
4848

49-
5049
public function getTranslatableStrings(): array
5150
{
5251
$return = [];

inc/Smartling/Models/RelatedContentItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class RelatedContentItem
66
{
7-
function __construct(private Content $content, private string $containerId, private string $path)
7+
public function __construct(private Content $content, private string $containerId, private string $path)
88
{
99
}
1010

0 commit comments

Comments
 (0)