8000 Nsdocblocks · sensi/symfony@788cc2c · GitHub
[go: up one dir, main page]

Skip to content

Commit 788cc2c

Browse files
Drakfabpot
authored andcommitted
Nsdocblocks
1 parent dba9bc3 commit 788cc2c

File tree

43 files changed

+104
-78
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+104
-78
lines changed

src/Symfony/Bridge/Monolog/Tests/Processor/WebProcessorTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ public function testUsesRequestServerData()
6060
}
6161

6262
/**
63+
* @param integer $level
64+
* @param string $message
65+
*
6366
* @return array Record
6467
*/
6568
protected function getRecord($level = Logger::WARNING, $message = 'test')

src/Symfony/Bundle/FrameworkBundle/CacheWarmer/RouterCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class RouterCacheWarmer implements CacheWarmerInterface
2727
/**
2828
* Constructor.
2929
*
30-
* @param Router $router A Router instance
30+
* @param RouterInterface $router A Router instance
3131
*/
3232
public function __construct(RouterInterface $router)
3333
{

src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function stream($view, array $parameters = array(), StreamedResponse $res
133133
* throw $this->createNotFoundException('Page not found!');
134134
*
135135
* @param string $message A message
136-
* @param Exception $previous The previous exception
136+
* @param \Exception $previous The previous exception
137137
*
138138
* @return NotFoundHttpException
139139
*/

src/Symfony/Bundle/SecurityBundle/Templating/Helper/LogoutUrlHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function getLogoutUrl($key)
8282
* @param string $key The firewall key
8383
* @param Boolean $absolute Whether to generate an absolute URL
8484
* @return string The logout URL
85-
* @throws InvalidArgumentException if no LogoutListener is registered for the key
85+
* @throws \InvalidArgumentException if no LogoutListener is registered for the key
8686
*/
8787
private function generateLogoutUrl($key, $absolute)
8888
{

src/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ public function purgeAction()
102102
/**
103103
* Imports token data.
104104
*
105+
* @param Request $request
106+
*
105107
* @return Response A Response instance
106108
*/
107109
public function importAction(Request $request)

src/Symfony/Bundle/WebProfilerBundle/Profiler/TemplateManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class TemplateManager
3333
* Constructor.
3434
*
3535
* @param Profiler $profiler
36-
* @param TwigEngine $templating
36+
* @param EngineInterface $templating
3737
* @param \Twig_Environment $twig
3838
* @param array $templates
3939
*/

src/Symfony/Component/Config/Definition/Builder/ArrayNodeDefinition.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace Symfony\Component\Config\Definition\Builder;
1313

14+
use Symfony\Component\Config\Definition\NodeInterface;
1415
use Symfony\Component\Config\Definition\ArrayNode;
1516
use Symfony\Component\Config\Definition\PrototypedArrayNode;
1617
use Symfony\Component\Config\Definition\Exception\InvalidDefinitionException;

src/Symfony/Component/Console/Output/ConsoleOutput.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ class ConsoleOutput extends StreamOutput implements ConsoleOutputInterface
3737
/**
3838
* Constructor.
3939
*
40-
* @param integer $verbosity The verbosity level (self::VERBOSITY_QUIET, self::VERBOSITY_NORMAL,
41-
* self::VERBOSITY_VERBOSE)
42-
* @param Boolean $decorated Whether to decorate messages or not (null for auto-guessing)
43-
* @param OutputFormatter $formatter Output formatter instance
40+
* @param integer $verbosity The verbosity level (self::VERBOSITY_QUIET, self::VERBOSITY_NORMAL,
41+
* self::VERBOSITY_VERBOSE)
42+
* @param Boolean $decorated Whether to decorate messages or not (null for auto-guessing)
43+
* @param OutputFormatterInterface $formatter Output formatter instance
4444
*
4545
* @api
4646
*/

src/Symfony/Component/Console/Output/StreamOutput.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ class StreamOutput extends Output
3535
/**
3636
* Constructor.
3737
*
38-
* @param mixed $stream A stream resource
39-
* @param integer $verbosity The verbosity level (self::VERBOSITY_QUIET, self::VERBOSITY_NORMAL,
40-
* self::VERBOSITY_VERBOSE)
41-
* @param Boolean $decorated Whether to decorate messages or not (null for auto-guessing)
42-
* @param OutputFormatter $formatter Output formatter instance
38+
* @param mixed $stream A stream resource
39+
* @param integer $verbosity The verbosity level (self::VERBOSITY_QUIET, self::VERBOSITY_NORMAL,
40+
* self::VERBOSITY_VERBOSE)
41+
* @param Boolean $decorated Whether to decorate messages or not (null for auto-guessing)
42+
* @param OutputFormatterInterface $formatter Output formatter instance
4343
*
4444
* @throws \InvalidArgumentException When first argument is not a real stream
4545
*

src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -880,9 +880,9 @@ private function wrapServiceConditionals($value, $code)
880880
/**
881881
* Builds service calls from arguments
882882
*
883-
* @param array $arguments
884-
* @param string &$calls By reference
885-
* @param string &$behavior By reference
883+
* @param array $arguments
884+
* @param array &$calls By reference
885+
* @param array &$behavior By reference
886886
*/
887887
private function getServiceCallsFromArguments(array $arguments, array &$calls, array &$behavior)
888888
{

0 commit comments

Comments
 (0)
0