This is not javascript
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
46e3ea4e41
commit
dd3d5829e7
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue