(node, blob: str=None)
| 21 | |
| 22 | @staticmethod |
| 23 | def get_docstring(node, blob: str=None) -> str: |
| 24 | if blob: |
| 25 | logger.info('From version `0.0.6` this function will update argument in the API') |
| 26 | docstring_node = PhpParser.get_docstring_node(node) |
| 27 | |
| 28 | docstring = '' |
| 29 | if docstring_node: |
| 30 | docstring = get_node_text(docstring_node[0]) |
| 31 | |
| 32 | return docstring |
| 33 | |
| 34 | @staticmethod |
| 35 | def get_docstring_node(node): |
nothing calls this directly
no test coverage detected