@@ -250,7 +250,6 @@ discard block |
||
| 250 | 250 | * Echoes out items for the Gutenberg block |
| 251 | 251 | * |
| 252 | 252 | * @param array $related_post The post oject |
| 253 | - * @param array $block attributes The block attributes |
|
| 254 | 253 | */ |
| 255 | 254 | public function render_block_item( $related_post, $block_attributes ) { |
| 256 | 255 | ?> |
@@ -473,6 +472,9 @@ discard block |
||
| 473 | 472 | return $this->_options; |
| 474 | 473 | } |
| 475 | 474 | |
| 475 | + /** |
|
| 476 | + * @param string $option_name |
|
| 477 | + */ |
|
| 476 | 478 | public function get_option( $option_name ) { |
| 477 | 479 | $options = $this->get_options(); |
| 478 | 480 | |
@@ -1620,6 +1622,8 @@ discard block |
||
| 1620 | 1622 | * Enqueues assets needed to do async loading of related posts. |
| 1621 | 1623 | * |
| 1622 | 1624 | * @uses wp_enqueue_script, wp_enqueue_style, plugins_url |
| 1625 | + * @param boolean $script |
|
| 1626 | + * @param boolean $style |
|
| 1623 | 1627 | * @return null |
| 1624 | 1628 | */ |
| 1625 | 1629 | protected function _enqueue_assets( $script, $style ) { |