@@ -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 | |