@@ -105,7 +105,7 @@ public function testHeadersForHttpException()
105
105
/**
106
106
* @dataProvider flattenDataProvider
107
107
*/
108
- public function testFlattenHttpException (\Exception $ exception, $ statusCode )
108
+ public function testFlattenHttpException (\Exception $ exception )
109
109
{
110
110
$ flattened = FlattenException::create ($ exception );
111
111
$ flattened2 = FlattenException::create ($ exception );
@@ -120,7 +120,7 @@ public function testFlattenHttpException(\Exception $exception, $statusCode)
120
120
/**
121
121
* @dataProvider flattenDataProvider
122
122
*/
123
- public function testPrevious (\Exception $ exception, $ statusCode )
123
+ public function testPrevious (\Exception $ exception )
124
124
{
125
125
$ flattened = FlattenException::create ($ exception );
126
126
$ flattened2 = FlattenException::create ($ exception );
@@ -167,7 +167,7 @@ public function testFile(\Exception $exception)
167
167
/**
168
168
* @dataProvider flattenDataProvider
169
169
*/
170
- public function testToArray (\Exception $ exception, $ statusCode )
170
+ public function testToArray (\Exception $ exception )
171
171
{
172
172
$ flattened = FlattenException::create ($ exception );
173
173
$ flattened ->setTrace (array (), 'foo.php ' , 123 );
@@ -187,7 +187,7 @@ public function testToArray(\Exception $exception, $statusCode)
187
187
public function flattenDataProvider ()
188
188
{
189
189
return array (
190
- array (new \Exception ('test ' , 123 ), 500 ),
190
+ array (new \Exception ('test ' , 123 )),
191
191
);
192
192
}
193
193
0 commit comments