@@ -62,7 +62,7 @@ public function __construct(array $options = array())
62
62
* @param Exception $e
63
63
* @param float $time
64
64
*/
65
- public function addError (Test $ test , \Exception $ e , $ time )
65
+ public function addError (Test $ test , \Throwable $ t , float $ time ): void
66
66
{
67
67
}
68
68
@@ -75,7 +75,7 @@ public function addError(Test $test, \Exception $e, $time)
75
75
*
76
76
* @since Method available since Release 5.1.0
77
77
*/
78
- public function addWarning (Test $ test , Warning $ e , $ time )
78
+ public function addWarning (Test $ test , Warning $ e , float $ time ): void
79
79
{
80
80
}
81
81
@@ -86,7 +86,7 @@ public function addWarning(Test $test, Warning $e, $time)
86
86
* @param AssertionFailedError $e
87
87
* @param float $time
88
88
*/
89
- public function addFailure (Test $ test , AssertionFailedError $ e , $ time )
89
+ public function addFailure (Test $ test , AssertionFailedError $ e , float $ time ): void
90
90
{
91
91
}
92
92
@@ -97,7 +97,7 @@ public function addFailure(Test $test, AssertionFailedError $e, $time)
97
97
* @param \Exception $e
98
98
* @param float $time
99
99
*/
100
- public function addIncompleteTest (Test $ test , \Exception $ e , $ time )
100
+ public function addIncompleteTest (Test $ test , \Throwable $ e , float $ time ): void
101
101
{
102
102
}
103
103
@@ -108,7 +108,7 @@ public function addIncompleteTest(Test $test, \Exception $e, $time)
108
108
* @param \Exception $e
109
109
* @param float $time
110
110
*/
111
- public function addSkippedTest (Test $ test , \Exception $ e , $ time )
111
+ public function addSkippedTest (Test $ test , \Throwable $ e , float $ time ): void
112
112
{
113
113
}
114
114
@@ -119,7 +119,7 @@ public function addSkippedTest(Test $test, \Exception $e, $time)
119
119
* @param \Exception $e
120
120
* @param float $time
121
121
*/
122
- public function addRiskyTest (Test $ test , \Exception $ e , $ time )
122
+ public function addRiskyTest (Test $ test , \Throwable $ e , float $ time ): void
123
123
{
124
124
}
125
125
@@ -130,7 +130,7 @@ public function addRiskyTest(Test $test, \Exception $e, $time)
130
130
*
131
131
* @return bool|null
132
132
*/
133
- public function startTest (Test $ test )
133
+ public function startTest (Test $ test ): void
134
134
{
135
135
$ class = get_class ($ test );
136
136
$ method = $ test ->getName (false );
@@ -152,7 +152,7 @@ public function startTest(Test $test)
152
152
}
153
153
154
154
if (empty ($ cassetteName )) {
155
- return true ;
155
+ return ;
156
156
}
157
157
158
158
VCR ::turnOn ();
@@ -191,7 +191,7 @@ private static function parseDocBlock($docBlock, $tag)
191
191
* @param Test $test
192
192
* @param float $time
193
193
*/
194
- public function endTest (Test $ test , $ time )
194
+ public function endTest (Test $ test , float $ time ): void
195
195
{
196
196
VCR ::turnOff ();
197
197
}
@@ -201,7 +201,7 @@ public function endTest(Test $test, $time)
201
201
*
202
202
* @param TestSuite $suite
203
203
*/
204
- public function startTestSuite (TestSuite $ suite )
204
+ public function startTestSuite (TestSuite $ suite ): void
205
205
{
206
206
}
207
207
@@ -210,7 +210,7 @@ public function startTestSuite(TestSuite $suite)
210
210
*
211
211
* @param TestSuite $suite
212
212
*/
213
- public function endTestSuite (TestSuite $ suite )
213
+ public function endTestSuite (TestSuite $ suite ): void
214
214
{
215
215
}
216
216
}
0 commit comments