diff --git a/resource_conflict.module b/resource_conflict.module
index 5d730b7a2..e3560679d 100644
--- a/resource_conflict.module
+++ b/resource_conflict.module
@@ -37,11 +37,14 @@ function resource_conflict_node_validate($node, $form, &$form_state) {
 
 /**
  * Check a node for conflicts.
+ *
+ * @return array
+ *   A list of nodes.
  */
 function _resource_conflict_get_conflicting_nids($node) {
   // Check the content type to make sure conflict handling is enabled.
   if (!variable_get('rc_type_' . $node->type, FALSE)) {
-    return;
+    return array();
   }
 
   $time_spans = _resource_conflict_get_timespans($node);
