In the symfony2 and doctrine 2. I have this
/**
* Find a user by its username.
*
* @param string $username
* @return UserInterface or null if user does not exist
*/
function findUserByUsername($username);
Now i want to know that does it solve nay purpose or does it do anything in database with those @param and @return annotation or they just for documentation
@paramis explained in the phpDocumentor docs. It has nothing to do with Symfony2.