Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adapter/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public function getOutputStream()
*/
public function setWidth($width = null)
{
if ($width === null || !is_integer($width)) {
if ($width === null || !is_int($width)) {
if (substr(PHP_OS, 0, 3) === 'WIN') {
// We have to default to 79 on windows, because the windows
// terminal always has a fixed width of 80 characters and the
Expand Down

0 comments on commit d6bc574

Please sign in to comment.