💚 CI: Undo a type-hint that causes CI failure

Our Stub object has a void return value; CI fails with this type-hint, as the Stub is not compatible with the actual object.
This commit is contained in:
Philipp Stracker 2024-07-25 15:48:35 +02:00
parent 75f4a6f94a
commit 64fae60da4
No known key found for this signature in database

View file

@ -117,7 +117,7 @@ class Settings implements ContainerInterface {
/**
* Stores the settings to the database.
*/
public function persist() : bool {
public function persist() {
return update_option( self::KEY, $this->settings );
}