@@ -7,7 +7,7 @@ |
||
| 7 | 7 | /** |
| 8 | 8 | * Perform call using transport layer |
| 9 | 9 | * |
| 10 | - * @param LoggerInterface $looger |
|
| 10 | + * @param LoggerInterface $logger |
|
| 11 | 11 | * @param string $data |
| 12 | 12 | * @param string $content_type |
| 13 | 13 | * @param string|bool $encrypt |
@@ -23,10 +23,11 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * Build the processor |
| 25 | 25 | * |
| 26 | - * @param string $encodint |
|
| 27 | - * @param LoggerInterface $looger |
|
| 26 | + * @param string $encoding |
|
| 27 | + * @param LoggerInterface $logger |
|
| 28 | 28 | * |
| 29 | 29 | * @throws Exception |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function __construct($encoding, LoggerInterface $logger); |
| 32 | 33 | |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | |
| 48 | 48 | $proto = strtoupper($protocol); |
| 49 | 49 | |
| 50 | - if ( !in_array($proto, static::$supported_protocols) ){ |
|
| 50 | + if ( !in_array($proto, static::$supported_protocols) ) { |
|
| 51 | 51 | throw new Exception("Invalid RPC protocol"); |
| 52 | 52 | } |
| 53 | 53 | |