Skip to content

Commit cd22551

Browse files
committed
add return
1 parent ed74ea4 commit cd22551

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Models/Device.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,13 @@ public function getName(): string
8888

8989
/**
9090
* @param string $name
91+
* @return Device
9192
*/
9293
public function setName(string $name)
9394
{
9495
$this->name = $name;
96+
97+
return $this;
9598
}
9699

97100
/**

0 commit comments

Comments
 (0)