File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function save(array $data)
3737 *
3838 * Replace the dots with underscrore in keys.
3939 *
40- * @link https://github.com/perftools/xhgui/issues/209
40+ * @see https://github.com/perftools/xhgui/issues/209
4141 */
4242 private function encodeProfile (array $ profile )
4343 {
Original file line number Diff line number Diff line change @@ -62,20 +62,20 @@ private function submit($url, $payload)
6262 ));
6363 if (!$ res ) {
6464 $ error = curl_errno ($ ch ) ? curl_error ($ ch ) : '' ;
65- throw new ProfilerException ('Failed to set cURL options ' . ($ error ? ': ' . $ error : '' ));
65+ throw new ProfilerException ('Failed to set cURL options ' . ($ error ? ': ' . $ error : '' ));
6666 }
6767
6868 $ result = curl_exec ($ ch );
6969 if ($ result === false ) {
7070 $ error = curl_errno ($ ch ) ? curl_error ($ ch ) : '' ;
71- throw new ProfilerException ('Failed to submit data ' . ($ error ? ': ' . $ error : '' ));
71+ throw new ProfilerException ('Failed to submit data ' . ($ error ? ': ' . $ error : '' ));
7272 }
7373 curl_close ($ ch );
7474
7575 $ response = json_decode ($ result , true );
7676 if (!$ response ) {
77- $ error = json_last_error () ? (PHP_VERSION_ID >= 50500 ? json_last_error_msg () : 'Error ' . json_last_error ()) : '' ;
78- throw new ProfilerException ('Failed to decode response ' . ($ error ? ': ' . $ error : '' ));
77+ $ error = json_last_error () ? (PHP_VERSION_ID >= 50500 ? json_last_error_msg () : 'Error ' . json_last_error ()) : '' ;
78+ throw new ProfilerException ('Failed to decode response ' . ($ error ? ': ' . $ error : '' ));
7979 }
8080
8181 if (isset ($ response ['error ' ]) && $ response ['error ' ]) {
You can’t perform that action at this time.
0 commit comments