This is in slight contrast to the following modelling options:
Webel Best Practice: UML/SysML: In Internal Block Diagrams: Consider hiding the name of a named Port or Property in a Diagram if its Type is sufficient to indicate its role.
In both cases, the aim is to reduce clutter by removing redundant information (in context).
Note that not showing the Type is ONLY recommended here when there is a clear suggestion of the Type of flowing stuff on a Connector to/from the Port. Showing only the Port name works together with: