Skip to content

Commit 67342ec

Browse files
Add missing @return $this annotations
1 parent b83a990 commit 67342ec

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

LinkedInOptions.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,62 +55,89 @@ public static function fromNotification(Notification $notification): self
5555
return $options;
5656
}
5757

58+
/**
59+
* @return $this
60+
*/
5861
public function contentCertificationRecord(string $contentCertificationRecord): self
5962
{
6063
$this->options['contentCertificationRecord'] = $contentCertificationRecord;
6164

6265
return $this;
6366
}
6467

68+
/**
69+
* @return $this
70+
*/
6571
public function firstPublishedAt(int $firstPublishedAt): self
6672
{
6773
$this->options['firstPublishedAt'] = $firstPublishedAt;
6874

6975
return $this;
7076
}
7177

78+
/**
79+
* @return $this
80+
*/
7281
public function lifecycleState(LifecycleStateShare $lifecycleStateOption): self
7382
{
7483
$this->options['lifecycleState'] = $lifecycleStateOption->lifecycleState();
7584

7685
return $this;
7786
}
7887

88+
/**
89+
* @return $this
90+
*/
7991
public function origin(string $origin): self
8092
{
8193
$this->options['origin'] = $origin;
8294

8395
return $this;
8496
}
8597

98+
/**
99+
* @return $this
100+
*/
86101
public function ugcOrigin(string $ugcOrigin): self
87102
{
88103
$this->options['ugcOrigin'] = $ugcOrigin;
89104

90105
return $this;
91106
}
92107

108+
/**
109+
* @return $this
110+
*/
93111
public function versionTag(string $versionTag): self
94112
{
95113
$this->options['versionTag'] = $versionTag;
96114

97115
return $this;
98116
}
99117

118+
/**
119+
* @return $this
120+
*/
100121
public function specificContent(ShareContentShare $specificContent): self
101122
{
102123
$this->options['specificContent']['com.linkedin.ugc.ShareContent'] = $specificContent->toArray();
103124

104125
return $this;
105126
}
106127

128+
/**
129+
* @return $this
130+
*/
107131
public function author(AuthorShare $authorOption): self
108132
{
109133
$this->options['author'] = $authorOption->author();
110134

111135
return $this;
112136
}
113137

138+
/**
139+
* @return $this
140+
*/
114141
public function visibility(VisibilityShare $visibilityOption): self
115142
{
116143
$this->options['visibility'] = $visibilityOption->toArray();

0 commit comments

Comments
 (0)