@@ -20,5 +20,5 @@ |
||
| 20 | 20 | |
| 21 | 21 | interface OnFailureInterface |
| 22 | 22 | { |
| 23 | - public function failure(Exception $e, RequestInterface $request, int $count, Node $node = null): void; |
|
| 23 | + public function failure(Exception $e, RequestInterface $request, int $count, Node $node = null): void; |
|
| 24 | 24 | } |
| 25 | 25 | \ No newline at end of file |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use Exception; |
| 19 | 19 | use OCA\FullTextSearch_Elasticsearch\Vendor\Psr\Http\Message\RequestInterface; |
| 20 | 20 | |
| 21 | -interface OnFailureInterface |
|
| 22 | -{ |
|
| 21 | +interface OnFailureInterface { |
|
| 23 | 22 | public function failure(Exception $e, RequestInterface $request, int $count, Node $node = null): void; |
| 24 | 23 | } |
| 25 | 24 | \ No newline at end of file |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | |
| 17 | 17 | use RuntimeException as RootRuntimeException; |
| 18 | 18 | |
| 19 | -class RuntimeException extends RootRuntimeException implements TransportException |
|
| 20 | -{ |
|
| 19 | +class RuntimeException extends RootRuntimeException implements TransportException { |
|
| 21 | 20 | |
| 22 | 21 | } |
| 23 | 22 | \ No newline at end of file |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | |
| 17 | 17 | use RuntimeException; |
| 18 | 18 | |
| 19 | -class NoNodeAvailableException extends RuntimeException implements TransportException |
|
| 20 | -{ |
|
| 19 | +class NoNodeAvailableException extends RuntimeException implements TransportException { |
|
| 21 | 20 | |
| 22 | 21 | } |
| 23 | 22 | \ No newline at end of file |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | |
| 17 | 17 | use RuntimeException; |
| 18 | 18 | |
| 19 | -class UnknownContentTypeException extends RuntimeException implements TransportException |
|
| 20 | -{ |
|
| 19 | +class UnknownContentTypeException extends RuntimeException implements TransportException { |
|
| 21 | 20 | |
| 22 | 21 | } |
| 23 | 22 | \ No newline at end of file |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | |
| 17 | 17 | use RuntimeException; |
| 18 | 18 | |
| 19 | -class SerializeException extends RuntimeException implements TransportException |
|
| 20 | -{ |
|
| 19 | +class SerializeException extends RuntimeException implements TransportException { |
|
| 21 | 20 | |
| 22 | 21 | } |
| 23 | 22 | \ No newline at end of file |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | |
| 17 | 17 | use RuntimeException; |
| 18 | 18 | |
| 19 | -class NoAsyncClientException extends RuntimeException implements TransportException |
|
| 20 | -{ |
|
| 19 | +class NoAsyncClientException extends RuntimeException implements TransportException { |
|
| 21 | 20 | |
| 22 | 21 | } |
| 23 | 22 | \ No newline at end of file |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | |
| 17 | 17 | use RuntimeException; |
| 18 | 18 | |
| 19 | -class UndefinedPropertyException extends RuntimeException implements TransportException |
|
| 20 | -{ |
|
| 19 | +class UndefinedPropertyException extends RuntimeException implements TransportException { |
|
| 21 | 20 | |
| 22 | 21 | } |
| 23 | 22 | \ No newline at end of file |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | |
| 17 | 17 | use RuntimeException; |
| 18 | 18 | |
| 19 | -class InvalidXmlException extends RuntimeException implements TransportException |
|
| 20 | -{ |
|
| 19 | +class InvalidXmlException extends RuntimeException implements TransportException { |
|
| 21 | 20 | |
| 22 | 21 | } |
| 23 | 22 | \ No newline at end of file |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | |
| 17 | 17 | use RuntimeException; |
| 18 | 18 | |
| 19 | -class InvalidJsonException extends RuntimeException implements TransportException |
|
| 20 | -{ |
|
| 19 | +class InvalidJsonException extends RuntimeException implements TransportException { |
|
| 21 | 20 | |
| 22 | 21 | } |
| 23 | 22 | \ No newline at end of file |