File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 2424use function basename ;
2525use function get_current_user ;
2626use function getcwd ;
27+ use function implode ;
2728use function php_uname ;
2829use function str_replace ;
2930
@@ -167,14 +168,14 @@ private function collectErrorExceptionData(Throwable $throwable): array
167168 private function collectErrorExceptionExtraData (array $ collectedExceptionData , ?RequestInterface $ request ): array
168169 {
169170 if (! $ request instanceof HttpRequest) {
170- $ argv = $ _SERVER ['argv ' ] ?? [];
171+ $ argv = $ _SERVER ['argv ' ] ?? [];
171172 $ serverUrl = php_uname ('n ' );
172- $ url = $ serverUrl . ': ' . basename ((string ) getcwd ())
173+ $ url = $ serverUrl . ': ' . basename ((string ) getcwd ())
173174 . ' ' . get_current_user ()
174175 . '$ ' . PHP_BINARY ;
175176
176177 $ params = implode (' ' , $ argv );
177- $ url .= $ params ;
178+ $ url .= $ params ;
178179 } else {
179180 $ http = $ request ->getUri ();
180181 $ serverUrl = $ http ->getScheme () . ':// ' . $ http ->getHost ();
You can’t perform that action at this time.
0 commit comments