Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -1355,6 +1355,11 @@ parameters:
count: 1
path: src/Bot/Model/Request/MembersRequest.php

-
message: "#^Method RetailCrm\\\\Mg\\\\Bot\\\\Model\\\\Request\\\\MembersRequest\\:\\:setId\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/Bot/Model/Request/MembersRequest.php

-
message: "#^Method RetailCrm\\\\Mg\\\\Bot\\\\Model\\\\Request\\\\MembersRequest\\:\\:setSince\\(\\) has no return typehint specified\\.$#"
count: 1
Expand Down
51 changes: 1 addition & 50 deletions src/Bot/Model/Request/MembersRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/
class MembersRequest implements ModelInterface
{
use CommonFields;
use PageLimit;

/**
Expand Down Expand Up @@ -51,24 +52,6 @@ class MembersRequest implements ModelInterface
*/
private $state;

/**
* @var string $since
*
* @Type("string")
* @Accessor(getter="getSince",setter="setSince")
* @SkipWhenEmpty
*/
private $since;

/**
* @var string $until
*
* @Type("string")
* @Accessor(getter="getUntil",setter="setUntil")
* @SkipWhenEmpty
*/
private $until;

/**
* @return int
*/
Expand Down Expand Up @@ -116,36 +99,4 @@ public function setState(string $state)
{
$this->state = $state;
}

/**
* @return string
*/
public function getSince()
{
return $this->since;
}

/**
* @param string $since
*/
public function setSince(string $since)
{
$this->since = $since;
}

/**
* @return string
*/
public function getUntil()
{
return $this->until;
}

/**
* @param string $until
*/
public function setUntil(string $until)
{
$this->until = $until;
}
}