File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -107,14 +107,16 @@ public function isVariantBase();
107107 *
108108 * @param \MetaModels\Filter\IFilter $objFilter The filter settings to be applied.
109109 *
110- * @return \MetaModels\IItems A list of all variants for this item.
110+ * @return \MetaModels\IItems|null A list of all variants for this item or null if the item cannot handle variants .
111111 */
112112 public function getVariants ($ objFilter );
113113
114114 /**
115- * Fetch the meta model variant base for this item. For a non-variant item the variant base is the item itself.
115+ * Fetch the meta model variant base for this item.
116116 *
117- * @return \MetaModels\IItem The variant base.
117+ * Note: For a non-variant item the variant base is the item itself.
118+ *
119+ * @return IItem The variant base.
118120 */
119121 public function getVariantBase ();
120122
Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ public function isVariantBase()
283283 *
284284 * @param IFilter $objFilter The filter settings to be applied.
285285 *
286- * @return IItems A list of all variants for this item.
286+ * @return IItems|null A list of all variants for this item.
287287 */
288288 public function getVariants ($ objFilter )
289289 {
@@ -295,9 +295,11 @@ public function getVariants($objFilter)
295295 }
296296
297297 /**
298- * Fetch the meta model variant base for this item. For a non-variant item the variant base is the item itself.
298+ * Fetch the meta model variant base for this item.
299299 *
300- * @return \MetaModels\IItem The variant base.
300+ * Note: For a non-variant item the variant base is the item itself.
301+ *
302+ * @return IItem The variant base.
301303 */
302304 public function getVariantBase ()
303305 {
You can’t perform that action at this time.
0 commit comments