diff --git a/src/Symfony/Components/BrowserKit/Client.php b/src/Symfony/Components/BrowserKit/Client.php index 0a29f6ad7a..2943b27116 100644 --- a/src/Symfony/Components/BrowserKit/Client.php +++ b/src/Symfony/Components/BrowserKit/Client.php @@ -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() { diff --git a/src/Symfony/Components/Console/Command/Command.php b/src/Symfony/Components/Console/Command/Command.php index 1b8d4740b4..7a0a35eb09 100644 --- a/src/Symfony/Components/Console/Command/Command.php +++ b/src/Symfony/Components/Console/Command/Command.php @@ -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) { diff --git a/src/Symfony/Components/DomCrawler/Form.php b/src/Symfony/Components/DomCrawler/Form.php index 6f04c7319a..0f0bb2ecba 100644 --- a/src/Symfony/Components/DomCrawler/Form.php +++ b/src/Symfony/Components/DomCrawler/Form.php @@ -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)