Skip to content
Permalink
Browse files

Remove over-optimistic typehint

  • Loading branch information
flack committed Mar 19, 2020
1 parent 37c5d5b commit 363c2cc4272054a571f5d3ae6e11cdb7cba60610
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/midcom/baseclasses/components/interface.php
@@ -187,10 +187,10 @@ public function get_nap_instance() : midcom_baseclasses_components_navigation
* Initiate a reindex run for the given component and topic.
*
* @param midcom_db_topic $topic The topic that should be reindexed.
* @return boolean Indicating success.
* @return boolean|midcom_services_indexer_client Indicating success or client to use
* @see _on_reindex()
*/
public function reindex($topic) : bool
public function reindex($topic)
{
return $this->_on_reindex($topic, $this->get_config_for_topic($topic), midcom::get()->indexer);
}

0 comments on commit 363c2cc

Please sign in to comment.
You can’t perform that action at this time.