File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -945,7 +945,7 @@ public static function table(array $tbody, array $thead = [])
945945 }
946946 }
947947
948- fwrite ( STDOUT , $ table );
948+ static :: write ( $ table );
949949 }
950950
951951 //--------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ public function tableProvider()
367367 [],
368368 "+---+-----+ \n" .
369369 "| 1 | bar | \n" .
370- "+---+-----+ \n" ,
370+ "+---+-----+ \n\n " ,
371371 ],
372372 [
373373 $ one_row ,
@@ -376,7 +376,7 @@ public function tableProvider()
376376 "| ID | Title | \n" .
377377 "+----+-------+ \n" .
378378 "| 1 | bar | \n" .
379- "+----+-------+ \n" ,
379+ "+----+-------+ \n\n " ,
380380 ],
381381 [
382382 $ many_rows ,
@@ -385,7 +385,7 @@ public function tableProvider()
385385 "| 1 | bar | \n" .
386386 "| 2 | bar * 2 | \n" .
387387 "| 3 | bar + bar + bar | \n" .
388- "+---+-----------------+ \n" ,
388+ "+---+-----------------+ \n\n " ,
389389 ],
390390 [
391391 $ many_rows ,
@@ -396,7 +396,7 @@ public function tableProvider()
396396 "| 1 | bar | \n" .
397397 "| 2 | bar * 2 | \n" .
398398 "| 3 | bar + bar + bar | \n" .
399- "+----+-----------------+ \n" ,
399+ "+----+-----------------+ \n\n " ,
400400 ],
401401 ];
402402 }
You can’t perform that action at this time.
0 commit comments