From d25af0e586ad702fd3fe9b2842522b4b7388f358 Mon Sep 17 00:00:00 2001 From: Peter Bowyer Date: Thu, 2 May 2024 16:39:42 +0100 Subject: [PATCH] Fix incorrect return type Correct the union of return types in documentation, so it's understood by IDEs. --- core/src/Revolution/modResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/Revolution/modResource.php b/core/src/Revolution/modResource.php index 4343ee6a369..16c419f6939 100644 --- a/core/src/Revolution/modResource.php +++ b/core/src/Revolution/modResource.php @@ -896,7 +896,7 @@ public function hasChildren() * * @param mixed $pk Either the ID of the TV, or the name of the TV. * - * @return null/mixed The value of the TV for the Resource, or null if the + * @return null|mixed The value of the TV for the Resource, or null if the * TV is not found. */ public function getTVValue($pk)