"Add docstrings to all functions and file headers."
Description
This PR adds a docstring to the convert function in the Writer.php file. The convert function is responsible for converting a Gedcom object into a string representation. The docstring provides a description of the function's purpose, parameters, and return value, following the standard format for function docstrings.
Summary of Changes
Added a docstring to the convert function in the Writer.php file.
The docstring provides a description of the function's purpose, parameters, and return value.
The docstring follows the standard format for function docstrings.
Referenced other functions in the file as examples for the docstring format.
PR Feedback (click)
I created this PR to address this rule:
"Add docstrings to all functions and file headers."
Description
This PR adds a docstring to the
convert
function in theWriter.php
file. Theconvert
function is responsible for converting aGedcom
object into a string representation. The docstring provides a description of the function's purpose, parameters, and return value, following the standard format for function docstrings.Summary of Changes
convert
function in theWriter.php
file.Please review and merge this PR. Thank you!