소스 검색

fixed phpdoc

pborreli 15 년 전
부모
커밋
cdc9c94628
3개의 변경된 파일13개의 추가작업 그리고 7개의 파일을 삭제
  1. 11 5
      src/Symfony/Components/BrowserKit/Client.php
  2. 1 1
      src/Symfony/Components/Console/Command/Command.php
  3. 1 1
      src/Symfony/Components/DomCrawler/Form.php

+ 11 - 5
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()
   {

+ 1 - 1
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)
   {

+ 1 - 1
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)