Merge pull request #740 from codeinabox/phpdoc-getter
Fixed the PHPDoc block for the getter to use @return
This commit is contained in:
commit
3b7c903c35
@ -115,7 +115,7 @@ snippet getter "PHP Class Getter" b
|
||||
/**
|
||||
* Getter for $1
|
||||
*
|
||||
* ${2:return string}
|
||||
* @return ${2:string}
|
||||
*/
|
||||
public function get${1/\w+\s*/\u$0/}()
|
||||
{
|
||||
@ -143,7 +143,7 @@ snippet gs "PHP Class Getter Setter" b
|
||||
/**
|
||||
* Getter for $1
|
||||
*
|
||||
* return ${2:string}
|
||||
* @return ${2:string}
|
||||
*/
|
||||
public function get${1/\w+\s*/\u$0/}()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user