fixed phpdoc

This commit is contained in:
pborreli 2010-04-25 15:02:23 +00:00 committed by Fabien Potencier
parent 7065957a30
commit cdc9c94628
3 changed files with 13 additions and 7 deletions

View File

@ -70,6 +70,8 @@ abstract class Client
* Sets the insulated flag.
*
* @param Boolean $insulated Whether to insulate the requests or not
*
* @throws \RuntimeException When Symfony Process Component is not installed
*/
public function insulate($insulated = true)
{
@ -231,7 +233,9 @@ abstract class Client
*
* @param Request $request A Request instance
*
* @param Response $response A Response instance
* @return Response A Response instance
*
* @throws \RuntimeException When processing returns exit code
*/
protected function doRequestInProcess($request)
{
@ -249,9 +253,9 @@ abstract class Client
/**
* Makes a request.
*
* @param Request $request A Request instance
* @param Request $request A Request instance
*
* @param Response $response A Response instance
* @return Response A Response instance
*/
abstract protected function doRequest($request);
@ -259,6 +263,8 @@ abstract class Client
* Returns the script to execute when the request must be insulated.
*
* @param Request $request A Request instance
*
* @throws \LogicException When this abstract class is not implemented
*/
protected function getScript($request)
{
@ -312,9 +318,9 @@ abstract class Client
/**
* Follow redirects?
*
* @throws \LogicException If request was not a redirect
*
* @return Symfony\Components\BrowserKit\Client
*
* @throws \LogicException If request was not a redirect
*/
public function followRedirect()
{

View File

@ -91,7 +91,7 @@ class Command
*
* @return integer 0 if everything went fine, or an error code
*
* @throws \LogicException When this abstrass class is not implemented
* @throws \LogicException When this abstract class is not implemented
*/
protected function execute(InputInterface $input, OutputInterface $output)
{

View File

@ -31,7 +31,7 @@ class Form
/**
* Constructor.
*
* @param \DOMNode $node A \DOMNode instance
* @param \DOMNode $node A \DOMNode instance
* @param string $method The method to use for the link (if null, it defaults to the method defined by the form)
* @param string $host The base URI to use for absolute links (like http://localhost)
* @param string $path The base path for relative links (/ by default)