File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ class Manager implements IManager {
3232 /** @var string */
3333 protected $ formattingObjectType ;
3434
35- /** @var int */
35+ /** @var int|string */
3636 protected $ formattingObjectId ;
3737
3838 /** @var bool */
@@ -297,9 +297,9 @@ public function getSettingById(string $id): ActivitySettings {
297297
298298 /**
299299 * @param string $type
300- * @param int $id
300+ * @param int|numeric-string $id
301301 */
302- public function setFormattingObject (string $ type , int $ id ): void {
302+ public function setFormattingObject (string $ type , int | string $ id ): void {
303303 $ this ->formattingObjectType = $ type ;
304304 $ this ->formattingObjectId = $ id ;
305305 }
Original file line number Diff line number Diff line change @@ -132,10 +132,10 @@ public function getSettingById(string $id): ActivitySettings;
132132
133133 /**
134134 * @param string $type
135- * @param int $id
135+ * @param int|numeric-string $id
136136 * @since 8.2.0
137137 */
138- public function setFormattingObject (string $ type , int $ id ): void ;
138+ public function setFormattingObject (string $ type , int | string $ id ): void ;
139139
140140 /**
141141 * @return bool
You can’t perform that action at this time.
0 commit comments