Skip to content

Commit 1545ca3

Browse files
authored
Merge pull request #74 from sudo-l3wis/bugfix/fixed-k8-type-references
Fixed type references in K8s for subject, daemonSet and cronjob
2 parents 4eb1235 + 628952d commit 1545ca3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/K8s.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public static function job($cluster = null, array $attributes = [])
173173
*
174174
* @param \RenokiCo\PhpK8s\KubernetesCluster|null $cluster
175175
* @param array $attributes
176-
* @return \RenokiCo\PhpK8s\Kinds\CronJob
176+
* @return \RenokiCo\PhpK8s\Kinds\K8sCronJob
177177
*/
178178
public static function cronjob($cluster = null, array $attributes = [])
179179
{
@@ -185,7 +185,7 @@ public static function cronjob($cluster = null, array $attributes = [])
185185
*
186186
* @param \RenokiCo\PhpK8s\KubernetesCluster|null $cluster
187187
* @param array $attributes
188-
* @return \RenokiCo\PhpK8s\Kinds\K8sJob
188+
* @return \RenokiCo\PhpK8s\Kinds\K8sDaemonSet
189189
*/
190190
public static function daemonSet($cluster = null, array $attributes = [])
191191
{
@@ -323,7 +323,7 @@ public static function rule(array $attributes = [])
323323
* Create a new subject instance.
324324
*
325325
* @param array $attributes
326-
* @return \RenokiCo\PhpK8s\Instances\Rule
326+
* @return \RenokiCo\PhpK8s\Instances\Subject
327327
*/
328328
public static function subject(array $attributes = [])
329329
{

0 commit comments

Comments
 (0)