mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Remove "
This commit is contained in:
parent
017ddd590a
commit
5592335a7c
@ -1,6 +1,6 @@
|
||||
# Templating
|
||||
|
||||
Docblocks allow you to tell Psalm some simple information about how your code works. For example `@return int` in a function return type tells Psalm that a function should return an `int`" and `@return MyContainer` tells Psalm that a function should return an instance of a user-defined class `MyContainer`. In either case, Psalm can check that the function actually returns those types _and_ that anything calling that function uses its returned value properly.
|
||||
Docblocks allow you to tell Psalm some simple information about how your code works. For example `@return int` in a function return type tells Psalm that a function should return an `int` and `@return MyContainer` tells Psalm that a function should return an instance of a user-defined class `MyContainer`. In either case, Psalm can check that the function actually returns those types _and_ that anything calling that function uses its returned value properly.
|
||||
|
||||
Templated types allow you to tell Psalm even more information about how your code works.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user