@@ -533,7 +533,7 @@ discard block |
||
| 533 | 533 | * @return string Default certificate path. |
| 534 | 534 | */ |
| 535 | 535 | public static function get_certificate_path() { |
| 536 | - if ( ! empty( Requests::$certificate_path ) ) { |
|
| 536 | + if (!empty(Requests::$certificate_path)) { |
|
| 537 | 537 | return Requests::$certificate_path; |
| 538 | 538 | } |
| 539 | 539 | |
@@ -545,7 +545,7 @@ discard block |
||
| 545 | 545 | * |
| 546 | 546 | * @param string $path Certificate path, pointing to a PEM file. |
| 547 | 547 | */ |
| 548 | - public static function set_certificate_path( $path ) { |
|
| 548 | + public static function set_certificate_path($path) { |
|
| 549 | 549 | Requests::$certificate_path = $path; |
| 550 | 550 | } |
| 551 | 551 | |
@@ -790,7 +790,7 @@ discard block |
||
| 790 | 790 | * @return array List of headers |
| 791 | 791 | */ |
| 792 | 792 | public static function flatten($array) { |
| 793 | - if(empty($array)){ |
|
| 793 | + if (empty($array)) { |
|
| 794 | 794 | return null; |
| 795 | 795 | } |
| 796 | 796 | $return = array(); |
@@ -790,7 +790,7 @@ |
||
| 790 | 790 | * @return array List of headers |
| 791 | 791 | */ |
| 792 | 792 | public static function flatten($array) { |
| 793 | - if(empty($array)){ |
|
| 793 | + if(empty($array)) { |
|
| 794 | 794 | return null; |
| 795 | 795 | } |
| 796 | 796 | $return = array(); |