Created
January 10, 2017 19:27
-
-
Save greg0ire/c0cca825eee0ccfdcc9ee9e065241b55 to your computer and use it in GitHub Desktop.
php doc : towards a minimum?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @param A $a useful comment | |
* @param B $b useless comment | |
* @param C|null $c useful comment | |
*/ | |
function muchDocumented(A $a, B $b, C $c = null) | |
{ | |
} | |
/** | |
* @param $a useful comment | |
* @param $b useless comment | |
* @param $c useful comment | |
*/ | |
function lessDocumented(A $a, B $b, C $c = null) | |
{ | |
} | |
/** | |
* @param $a useful comment | |
* @param $c useful comment | |
*/ | |
function evenLessDocumented(A $a, B $b, C $c = null) | |
{ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment