Skip to content

Commit 378af97

Browse files
authored
Merge pull request #2 from vesper8/patch-1
As of 7.4 you can no longer pass the glu after the array, it needs to be in the reverse order
2 parents 7249b31 + 8365cc0 commit 378af97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/terminal-style.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,6 @@ function terminal_style($message = null, $color = null, $background = null, $sty
137137
}
138138

139139
// Set background
140-
return "\e[" . implode($code, ';') . "m" . $message . "\e[0m";
140+
return "\e[" . implode(';', $code) . "m" . $message . "\e[0m";
141141
}
142-
}
142+
}

0 commit comments

Comments
 (0)