8000 Removed unused parameter from flattenDataProvider(). · symfony/symfony@d6f4f51 · GitHub
[go: up one dir, main page]

Skip to content

Commit d6f4f51

Browse files
committed
Removed unused parameter from flattenDataProvider().
1 parent b49a6b7 commit d6f4f51

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Component/Debug/Tests/Exception/FlattenExceptionTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function testHeadersForHttpException()
105105
/**
106106
* @dataProvider flattenDataProvider
107107
*/
108-
public function testFlattenHttpException(\Exception $exception, $statusCode)
108+
public function testFlattenHttpException(\Exception $exception)
109109
{
110110
$flattened = FlattenException::create($exception);
111111
$flattened2 = FlattenException::create($exception);
@@ -120,7 +120,7 @@ public function testFlattenHttpException(\Exception $exception, $statusCode)
120120
/**
121121
* @dataProvider flattenDataProvider
122122
*/
123-
public function testPrevious(\Exception $exception, $statusCode)
123+
public function testPrevious(\Exception $exception)
124124
{
125125
$flattened = FlattenException::create($exception);
126126
$flattened2 = FlattenException::create($exception);
@@ -167,7 +167,7 @@ public function testFile(\Exception $exception)
167167
/**
168168
* @dataProvider flattenDataProvider
169169
*/
170-
public function testToArray(\Exception $exception, $statusCode)
170+
public function testToArray(\Exception $exception)
171171
{
172172
$flattened = FlattenException::create($exception);
173173
$flattened->setTrace(array(), 'foo.php', 123);
@@ -187,7 +187,7 @@ public function testToArray(\Exception $exception, $statusCode)
187187
public function flattenDataProvider()
188188
{
189189
return array(
190-
array(new \Exception('test', 123), 500),
190+
array(new \Exception('test', 123)),
191191
);
192192
}
193193

0 commit comments

Comments
 (0)
0