8000 fixed phpdoc · Arief57/symfony@cdc9c94 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit cdc9c94

Browse files
pborrelifabpot
authored andcommitted
fixed phpdoc
1 parent 7065957 commit cdc9c94

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

src/Symfony/Components/BrowserKit/Client.php

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ public function followRedirects($followRedirect = true)
7070
* Sets the insulated flag.
7171
*
7272
* @param Boolean $insulated Whether to insulate the requests or not
73+
*
74+
* @throws \RuntimeException When Symfony Process Component is not installed
7375
*/
7476
public function insulate($insulated = true)
7577
{
@@ -231,7 +233,9 @@ public function request($method, $uri, $parameters = array(), $headers = array()
231233
*
232234
* @param Request $request A Request instance
233235
*
234-
* @param Response $response A Response instance
236+
* @return Response A Response instance
237+
*
238+
* @throws \RuntimeException When processing returns exit code
235239
*/
236240
protected function doRequestInProcess($request)
237241
{
@@ -249,16 +253,18 @@ protected function doRequestInProcess($request)
249253
/**
250254
* Makes a request.
251255
*
252-
* @param Request $request A Request instance
256+
* @param Request $request A Request instance
253257
*
254-
* @param Response $response A Response instance
258+
* @return Response A Response instance
255259
*/
256260
abstract protected function doRequest($request);
257261

258262
/**
259263
* Returns the script to execute when the request must be insulated.
260264
*
261265
* @param Request $request A Request instance
266+
*
267+
* @throws \LogicException When this abstract class is not implemented
262268
*/
263269
protected function getScript($request)
264270
{
@@ -312,9 +318,9 @@ public function reload()
312318
/**
313319
* Follow redirects?
314320
*
315-
* @throws \LogicException If request was not a redirect
316-
*
317321
* @return Symfony\Components\BrowserKit\Client
322+
*
323+
* @throws \LogicException If request was not a redirect
318324
*/
319325
public function followRedirect()
320326
{

src/Symfony/Components/Console/Command/Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected function configure()
9191
*
9292
* @return integer 0 if everything went fine, or an error code
9393
*
94-
* @throws \LogicException When this abstrass class is not implemented
94+
* @throws \LogicException When this abstract class is not implemented
9595
*/
9696
protected function execute(InputInterface $input, OutputInterface $output)
9797
{

src/Symfony/Components/DomCrawler/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Form
3131
/**
3232
* Constructor.
3333
*
34-
* @param \DOMNode $node A \DOMNode instance
34+
* @param \DOMNode $node A \DOMNode instance
3535
* @param string $method The method to use for the link (if null, it defaults to the method defined by the form)
3636
* @param string $host The base URI to use for absolute links (like http://localhost)
3737
* @param string $path The base path for relative links (/ by default)

0 commit comments

Comments
 (0)
0