Skip to content
This repository was archived by the owner on Aug 13, 2022. It is now read-only.

Commit b57e3e7

Browse files
committed
use self type
1 parent 516f317 commit b57e3e7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Entity/PageLockEntity.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function getId(): int
9494
return $this->id;
9595
}
9696

97-
public function setName(string $name): PageLockEntity
97+
public function setName(string $name): self
9898
{
9999
$this->name = $name;
100100

@@ -106,7 +106,7 @@ public function getName(): string
106106
return $this->name;
107107
}
108108

109-
public function setCdate(DateTime $cdate): PageLockEntity
109+
public function setCdate(DateTime $cdate): self
110110
{
111111
$this->cdate = $cdate;
112112

@@ -118,7 +118,7 @@ public function getCdate(): DateTime
118118
return $this->cdate;
119119
}
120120

121-
public function setEdate(DateTime $edate): PageLockEntity
121+
public function setEdate(DateTime $edate): self
122122
{
123123
$this->edate = $edate;
124124

@@ -130,7 +130,7 @@ public function getEdate(): DateTime
130130
return $this->edate;
131131
}
132132

133-
public function setSession(string $session): PageLockEntity
133+
public function setSession(string $session): self
134134
{
135135
$this->session = $session;
136136

@@ -142,7 +142,7 @@ public function getSession(): string
142142
return $this->session;
143143
}
144144

145-
public function setTitle(string $title): PageLockEntity
145+
public function setTitle(string $title): self
146146
{
147147
$this->title = $title;
148148

@@ -154,7 +154,7 @@ public function getTitle(): string
154154
return $this->title;
155155
}
156156

157-
public function setIpno(string $ipno): PageLockEntity
157+
public function setIpno(string $ipno): self
158158
{
159159
$this->ipno = $ipno;
160160

0 commit comments

Comments
 (0)