File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/JohnKary/PHPUnit/Listener Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ protected function getReportLength()
236236 protected function getHiddenCount ()
237237 {
238238 $ total = count ($ this ->slow );
239- $ showing = $ this ->getReportLength ($ this -> slow );
239+ $ showing = $ this ->getReportLength ();
240240
241241 $ hidden = 0 ;
242242 if ($ total > $ showing ) {
@@ -261,7 +261,7 @@ protected function renderBody()
261261 {
262262 $ slowTests = $ this ->slow ;
263263
264- $ length = $ this ->getReportLength ($ slowTests );
264+ $ length = $ this ->getReportLength ();
265265 for ($ i = 1 ; $ i <= $ length ; ++$ i ) {
266266 $ label = key ($ slowTests );
267267 $ time = array_shift ($ slowTests );
@@ -275,7 +275,7 @@ protected function renderBody()
275275 */
276276 protected function renderFooter ()
277277 {
278- if ($ hidden = $ this ->getHiddenCount ($ this -> slow )) {
278+ if ($ hidden = $ this ->getHiddenCount ()) {
279279 echo sprintf ("...and there %s %s more above your threshold hidden from view " , $ hidden == 1 ? 'is ' : 'are ' , $ hidden );
280280 }
281281 }
You can’t perform that action at this time.
0 commit comments