This is not javascript

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-10-26 17:06:32 +01:00
parent 46e3ea4e41
commit dd3d5829e7
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ trait CommandLine {
$results = []; $results = [];
// the exception text usually appears after an "[Exception"] row // the exception text usually appears after an "[Exception"] row
foreach (explode("\n", $input) as $line) { foreach (explode("\n", $input) as $line) {
if (strpos($line, $text) >= 0) { if (strpos($line, $text) !== false) {
$results[] = $line; $results[] = $line;
} }
} }