8000 PHPDoc fixes · symfony/symfony@987404b · GitHub
[go: up one dir, main page]

Skip to content

Commit 987404b

Browse files
committed
PHPDoc fixes
1 parent a83ec1f commit 987404b

File tree

6 files changed

+1
-20
lines changed

6 files changed

+1
-20
lines changed

src/Symfony/Bundle/WebProfilerBundle/EventListener/WebDebugToolbarListener.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ public function onKernelResponse(FilterResponseEvent $event)
108108

109109
/**
110110
* Injects the web debug toolbar into the given Response.
111-
*
112-
* @param Response $response A Response instance
113-
* @param Request $request A Request instance
114111
*/
115112
protected function injectToolbar(Response $response, Request $request)
116113
{

src/Symfony/Component/Console/Tests/Helper/HelperSetTest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,6 @@ public function testIteration()
107107
}
108108
}
109109

110-
/**
111-
* Create a generic mock for the helper interface. Optionally check for a call to setHelperSet with a specific
112-
* helperset instance.
113-
*
114-
* @param string $name
115-
* @param HelperSet $helperset allows a mock to verify a particular helperset set is being added to the Helper
116-
*
117-
* @return \PHPUnit_Framework_MockObject_MockObject
118-
*/
119110
private function getGenericMockHelper($name, HelperSet $helperset = null)
120111
{
121112
$mock_helper = $this->getMock('\Symfony\Component\Console\Helper\HelperInterface');

src/Symfony/Component/Debug/ErrorHandler.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,7 @@ private function reRegister($prev)
358358
*
359359
* @return bool Returns false when no handling happens so that the PHP engine can handle the error itself
360360
*
361-
* @throws ContextErrorException
362-
* @throws \ErrorException When $this->thrownErrors requests so
361+
* @throws \ErrorException When $this->thrownErrors requests so
363362
*
364363
* @internal
365364
*/

src/Symfony/Component/HttpFoundation/JsonResponse.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,6 @@ public function setCallback($callback = null)
101101
* @param mixed $data
102102
*
103103
* @return JsonResponse
104-
*
105-
* @throws \Exception
106104
*/
107105
public function setData($data = array())
108106
{

src/Symfony/Component/VarDumper/Cloner/AbstractCloner.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,6 @@ public function setMaxString($maxString)
164164
* @param int $filter A bit field of Caster::EXCLUDE_* constants
165165
*
166166
* @return Data The cloned variable represented by a Data object
167-
*
168-
* @throws \Exception
169167
*/
170168
public function cloneVar($var, $filter = 0)
171169
{

src/Symfony/Component/VarDumper/Dumper/AbstractDumper.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ public function setIndentPad($pad)
131131
*
132132
* @param Data $data A Data object
133133
* @param callable|resource|string|null $output A line dumper callable, an opened stream or an output path
134-
*
135-
* @throws \Throwable
136134
*/
137135
public function dump(Data $data, $output = null)
138136
{

0 commit comments

Comments
 (0)
0