Commits vergleichen
2 Commits
Autor | SHA1 | Datum | |
---|---|---|---|
c635bbfe91 | |||
732ad550e2 |
@ -4,7 +4,11 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased](https://git.d3data.de/D3Public/klicktipp-php-client/compare/1.0.2...rel_1.x)
|
||||
## [Unreleased](https://git.d3data.de/D3Public/klicktipp-php-client/compare/1.0.3...rel_1.x)
|
||||
|
||||
## [1.0.3](https://git.d3data.de/D3Public/klicktipp-php-client/compare/1.0.2...1.0.3) - 2025-03-06
|
||||
### Fixed
|
||||
- handle different cases in subscribed status
|
||||
|
||||
## [1.0.2](https://git.d3data.de/D3Public/klicktipp-php-client/compare/1.0.1...1.0.2) - 2025-02-05
|
||||
### Added
|
||||
|
@ -84,7 +84,7 @@ class Subscriber extends Entity
|
||||
|
||||
public function isSubscribed(): bool
|
||||
{
|
||||
return $this->getStatus() === self::STATUS_SUBSCRIBED;
|
||||
return strtolower($this->getStatus()) === strtolower(self::STATUS_SUBSCRIBED);
|
||||
}
|
||||
|
||||
public function getBounce(): ?string
|
||||
@ -94,7 +94,7 @@ class Subscriber extends Entity
|
||||
|
||||
public function isBounced(): bool
|
||||
{
|
||||
return $this->getBounce() !== self::BOUNCE_NOTBOUNCED;
|
||||
return strtolower($this->getBounce()) !== strtolower(self::BOUNCE_NOTBOUNCED);
|
||||
}
|
||||
|
||||
public function getDate(): ?DateTime
|
||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren