Skip to content

Commit

Permalink
Fix parameter type in Block model
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Feb 7, 2024
1 parent 081ce4e commit aac53b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/models/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public static function findObjectClassesById(array $ids)
}

/**
* @param string $id
* @param int $id
* @param string $context
* @param NavItemPage|null $pageObject
* @since 1.0.6
Expand All @@ -262,9 +262,9 @@ public function getObject($id, $context, NavItemPage $pageObject = null): false|
/**
* Creates the block object and stores the object within a static block container.
*
* @param string $class
* @param string $blockId The id of the cms_block table
* @param string $id The context id, the cms_nav_item_page_block_item unique id
* @param string $class The block object class name.
* @param int $blockId The id of the cms_block table
* @param int $id The context id, the cms_nav_item_page_block_item unique id
* @param string $context admin or frontend
* @param NavItemPage|null $pageObject
*/
Expand Down

0 comments on commit aac53b7

Please sign in to comment.