Skip to content
Snippets Groups Projects
Commit 81fdd3f5 authored by Primoz Hmeljak's avatar Primoz Hmeljak Committed by Sascha Grossenbacher
Browse files

Issue #3488979: ContentWorkflowBynderMigrateSource::count needs a return type

parent 6843a71b
No related branches found
No related tags found
1 merge request!5Issue #3488979: add missing return type and fix the content workflow link at the end of import.
Pipeline #363009 passed with warnings
......@@ -164,7 +164,7 @@ class TrackedEntitiesController extends ControllerBase {
. $this->config
->get('content_workflow_bynder.settings')
->get('content_workflow_bynder_urlkey')
. '.content_workflow_bynder.com/item/';
. '.gathercontent.com/item/';
$url = Url::fromUri($base_url . $cwbId);
......
......@@ -127,7 +127,7 @@ class ContentWorkflowBynderMigrateSource extends SourcePluginBase implements Con
/**
* {@inheritdoc}
*/
public function count($refresh = FALSE) {
public function count($refresh = FALSE): int {
return count($this->getItems());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment