@@ -80,6 +80,9 @@ discard block |
||
80 | 80 | return $currentFile; |
81 | 81 | } |
82 | 82 | |
83 | + /** |
|
84 | + * @param string $line |
|
85 | + */ |
|
83 | 86 | protected function getLineNumber($line) |
84 | 87 | { |
85 | 88 | $matches = []; |
@@ -90,6 +93,9 @@ discard block |
||
90 | 93 | return $matches['lineNumber']; |
91 | 94 | } |
92 | 95 | |
96 | + /** |
|
97 | + * @param string $line |
|
98 | + */ |
|
93 | 99 | protected function getMessage($line) |
94 | 100 | { |
95 | 101 | return trim(preg_replace($this->lineRegex, "", $line)); |
@@ -75,7 +75,7 @@ |
||
75 | 75 | protected function checkForFilename($line, $currentFile) |
76 | 76 | { |
77 | 77 | if (strpos($line, " Line ")) { |
78 | - return trim(str_replace('Line', '',$line)); |
|
78 | + return trim(str_replace('Line', '', $line)); |
|
79 | 79 | } |
80 | 80 | return $currentFile; |
81 | 81 | } |