Skip to content

Commit

Permalink
Fix incorrect return type
Browse files Browse the repository at this point in the history
Correct the union of return types in documentation, so it's understood by IDEs.
  • Loading branch information
pbowyer authored May 2, 2024
1 parent fe2df18 commit d25af0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Revolution/modResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d25af0e

Please sign in to comment.