Skip to content

Commit

Permalink
Merge pull request #8152 from live627/type
Browse files Browse the repository at this point in the history
  • Loading branch information
Sesquipedalian authored Mar 28, 2024
2 parents 58d31ce + 44a3b5e commit 176f111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Board.php
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ public function __set(string $prop, mixed $value): void

// Special handling for the category.
if (($this->prop_aliases[$prop] ?? null) === 'cat[id]') {
$this->cat = Category::init($value);
$this->cat = Category::init((int) $value);

return;
}
Expand Down

0 comments on commit 176f111

Please sign in to comment.