File tree Expand file tree Collapse file tree 6 files changed +1
-20
lines changed
Bundle/WebProfilerBundle/EventListener Expand file tree Collapse file tree 6 files changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -108,9 +108,6 @@ public function onKernelResponse(FilterResponseEvent $event)
108
108
109
109
/**
110
110
* Injects the web debug toolbar into the given Response.
111
- *
112
- * @param Response $response A Response instance
113
- * @param Request $request A Request instance
114
111
*/
115
112
protected function injectToolbar (Response $ response , Request $ request )
116
113
{
Original file line number Diff line number Diff line change @@ -107,15 +107,6 @@ public function testIteration()
107
107
}
108
108
}
109
109
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
- */
119
110
private function getGenericMockHelper ($ name , HelperSet $ helperset = null )
120
111
{
121
112
$ mock_helper = $ this ->getMock ('\Symfony\Component\Console\Helper\HelperInterface ' );
Original file line number Diff line number Diff line change @@ -358,8 +358,7 @@ private function reRegister($prev)
358
358
*
359
359
* @return bool Returns false when no handling happens so that the PHP engine can handle the error itself
360
360
*
361
- * @throws ContextErrorException
362
- * @throws \ErrorException When $this->thrownErrors requests so
361
+ * @throws \ErrorException When $this->thrownErrors requests so
363
362
*
364
363
* @internal
365
364
*/
Original file line number Diff line number Diff line change @@ -101,8 +101,6 @@ public function setCallback($callback = null)
101
101
* @param mixed $data
102
102
*
103
103
* @return JsonResponse
104
- *
105
- * @throws \Exception
106
104
*/
107
105
public function setData ($ data = array ())
108
106
{
Original file line number Diff line number Diff line change @@ -164,8 +164,6 @@ public function setMaxString($maxString)
164
164
* @param int $filter A bit field of Caster::EXCLUDE_* constants
165
165
*
166
166
* @return Data The cloned variable represented by a Data object
167
- *
168
- * @throws \Exception
169
167
*/
170
168
public function cloneVar ($ var , $ filter = 0 )
171
169
{
Original file line number Diff line number Diff line change @@ -131,8 +131,6 @@ public function setIndentPad($pad)
131
131
*
132
132
* @param Data $data A Data object
133
133
* @param callable|resource|string|null $output A line dumper callable, an opened stream or an output path
134
- *
135
- * @throws \Throwable
136
134
*/
137
135
public function dump (Data $ data , $ output = null )
138
136
{
You can’t perform that action at this time.
0 commit comments