Skip to content

Commit 2bb12f0

Browse files
committed
fixed set and get isCrawler
Signed-off-by: bota <Bota@dotkernel.com>
1 parent 8868de3 commit 2bb12f0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/Core/src/Admin/src/Entity/AdminLogin.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,14 +204,16 @@ public function setLoginStatus(SuccessFailureEnum $loginStatus): self
204204
return $this;
205205
}
206206

207-
public function getIsCrawler(): YesNoEnum
207+
public function getIsCrawler(): ?YesNoEnum
208208
{
209209
return $this->isCrawler;
210210
}
211211

212-
public function setIsCrawler(YesNoEnum $isCrawler): void
212+
public function setIsCrawler(YesNoEnum $isCrawler): self
213213
{
214214
$this->isCrawler = $isCrawler;
215+
216+
return $this;
215217
}
216218

217219
/**

0 commit comments

Comments
 (0)