diff options
| author | winter | 2024-12-17 20:43:44 +0000 |
|---|---|---|
| committer | winter | 2024-12-17 20:43:44 +0000 |
| commit | 10793d22df72f12f2f14c730c09b5018b5b6e63a (patch) | |
| tree | ea3cf7cf1461b5b02d989d0077a154b6408948e8 /Digitigrade/Model/Instance.php | |
| parent | 12d3fe4509dda610e6b7adb120dc0530081c6768 (diff) | |
bugfixing
Diffstat (limited to 'Digitigrade/Model/Instance.php')
| -rw-r--r-- | Digitigrade/Model/Instance.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Digitigrade/Model/Instance.php b/Digitigrade/Model/Instance.php index 9e54a5f..2fc2f17 100644 --- a/Digitigrade/Model/Instance.php +++ b/Digitigrade/Model/Instance.php @@ -175,7 +175,7 @@ class Instance extends FetchableModel { return false; } - public function pushObject(\JsonSerializable $obj) { + public function pushObject(PushableModel $obj) { if (!isset($this->endpoints->push)) { throw new \RuntimeException("can't push to $this->domain because it doesn't have a push endpoint"); } |
