Skip to content

Refactored the documentation commets to allow IDE autocomplete.#3

Open
ndobromirov wants to merge 1 commit intohglattergotz:masterfrom
ndobromirov:master
Open

Refactored the documentation commets to allow IDE autocomplete.#3
ndobromirov wants to merge 1 commit intohglattergotz:masterfrom
ndobromirov:master

Conversation

@ndobromirov
Copy link

As the documentation was there, just in a wrong format, I've re-formatted what was possible to utilize PHP's inline docks format with:
Search reg exp: public (\$\w+); // (\w+)
Replace with: /**\n * @var $2 $1\n */\n public $1;

The end result is:
public $Var; // Type

Is converted to:
`/**

  • @var Type $var
    */
    public $var;`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant