@@ -21,5 +21,5 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | class ClientResponseException extends Exception implements ElasticsearchException |
| 23 | 23 | { |
| 24 | - use ResponseTrait; |
|
| 24 | + use ResponseTrait; |
|
| 25 | 25 | } |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * Elasticsearch B.V licenses this file to you under the MIT License. |
| 12 | 12 | * See the LICENSE file in the project root for more information. |
| 13 | 13 | */ |
| 14 | -declare (strict_types=1); |
|
| 14 | +declare(strict_types=1); |
|
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Traits\ResponseTrait; |
@@ -19,7 +19,6 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * HTTP client error with 4xx status code |
| 21 | 21 | */ |
| 22 | -class ClientResponseException extends Exception implements ElasticsearchException |
|
| 23 | -{ |
|
| 22 | +class ClientResponseException extends Exception implements ElasticsearchException { |
|
| 24 | 23 | use ResponseTrait; |
| 25 | 24 | } |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * Elasticsearch B.V licenses this file to you under the MIT License. |
| 12 | 12 | * See the LICENSE file in the project root for more information. |
| 13 | 13 | */ |
| 14 | -declare (strict_types=1); |
|
| 14 | +declare(strict_types=1); |
|
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use Exception; |
@@ -15,6 +15,5 @@ |
||
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use Exception; |
| 18 | -class ConfigException extends Exception implements ElasticsearchException |
|
| 19 | -{ |
|
| 18 | +class ConfigException extends Exception implements ElasticsearchException { |
|
| 20 | 19 | } |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * Elasticsearch B.V licenses this file to you under the MIT License. |
| 12 | 12 | * See the LICENSE file in the project root for more information. |
| 13 | 13 | */ |
| 14 | -declare (strict_types=1); |
|
| 14 | +declare(strict_types=1); |
|
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use InvalidArgumentException as InvalidArgument; |
@@ -15,6 +15,5 @@ |
||
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use InvalidArgumentException as InvalidArgument; |
| 18 | -class InvalidArgumentException extends InvalidArgument implements ElasticsearchException |
|
| 19 | -{ |
|
| 18 | +class InvalidArgumentException extends InvalidArgument implements ElasticsearchException { |
|
| 20 | 19 | } |
@@ -21,5 +21,5 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | class ServerResponseException extends Exception implements ElasticsearchException |
| 23 | 23 | { |
| 24 | - use ResponseTrait; |
|
| 24 | + use ResponseTrait; |
|
| 25 | 25 | } |
@@ -19,7 +19,6 @@ |
||
| 19 | 19 | /** |
| 20 | 20 | * HTTP server error with 5xx status code |
| 21 | 21 | */ |
| 22 | -class ServerResponseException extends Exception implements ElasticsearchException |
|
| 23 | -{ |
|
| 22 | +class ServerResponseException extends Exception implements ElasticsearchException { |
|
| 24 | 23 | use ResponseTrait; |
| 25 | 24 | } |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * Elasticsearch B.V licenses this file to you under the MIT License. |
| 12 | 12 | * See the LICENSE file in the project root for more information. |
| 13 | 13 | */ |
| 14 | -declare (strict_types=1); |
|
| 14 | +declare(strict_types=1); |
|
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Traits\ResponseTrait; |
@@ -15,6 +15,5 @@ |
||
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use Exception; |
| 18 | -class ArrayAccessException extends Exception implements ElasticsearchException |
|
| 19 | -{ |
|
| 18 | +class ArrayAccessException extends Exception implements ElasticsearchException { |
|
| 20 | 19 | } |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * Elasticsearch B.V licenses this file to you under the MIT License. |
| 12 | 12 | * See the LICENSE file in the project root for more information. |
| 13 | 13 | */ |
| 14 | -declare (strict_types=1); |
|
| 14 | +declare(strict_types=1); |
|
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use Exception; |
@@ -15,6 +15,5 @@ |
||
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use Exception; |
| 18 | -class MissingParameterException extends Exception implements ElasticsearchException |
|
| 19 | -{ |
|
| 18 | +class MissingParameterException extends Exception implements ElasticsearchException { |
|
| 20 | 19 | } |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * Elasticsearch B.V licenses this file to you under the MIT License. |
| 12 | 12 | * See the LICENSE file in the project root for more information. |
| 13 | 13 | */ |
| 14 | -declare (strict_types=1); |
|
| 14 | +declare(strict_types=1); |
|
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use Exception; |
@@ -15,6 +15,5 @@ |
||
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use Exception; |
| 18 | -class HttpClientException extends Exception implements ElasticsearchException |
|
| 19 | -{ |
|
| 18 | +class HttpClientException extends Exception implements ElasticsearchException { |
|
| 20 | 19 | } |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * Elasticsearch B.V licenses this file to you under the MIT License. |
| 12 | 12 | * See the LICENSE file in the project root for more information. |
| 13 | 13 | */ |
| 14 | -declare (strict_types=1); |
|
| 14 | +declare(strict_types=1); |
|
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use Exception; |
@@ -15,6 +15,5 @@ |
||
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use Exception; |
| 18 | -class AuthenticationException extends Exception implements ElasticsearchException |
|
| 19 | -{ |
|
| 18 | +class AuthenticationException extends Exception implements ElasticsearchException { |
|
| 20 | 19 | } |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * Elasticsearch B.V licenses this file to you under the MIT License. |
| 12 | 12 | * See the LICENSE file in the project root for more information. |
| 13 | 13 | */ |
| 14 | -declare (strict_types=1); |
|
| 14 | +declare(strict_types=1); |
|
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use Exception; |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * Elasticsearch B.V licenses this file to you under the MIT License. |
| 12 | 12 | * See the LICENSE file in the project root for more information. |
| 13 | 13 | */ |
| 14 | -declare (strict_types=1); |
|
| 14 | +declare(strict_types=1); |
|
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use RuntimeException; |
@@ -15,6 +15,5 @@ |
||
| 15 | 15 | namespace OCA\FullTextSearch_Elasticsearch\Vendor\Elastic\Elasticsearch\Exception; |
| 16 | 16 | |
| 17 | 17 | use RuntimeException; |
| 18 | -class ProductCheckException extends RuntimeException implements ElasticsearchException |
|
| 19 | -{ |
|
| 18 | +class ProductCheckException extends RuntimeException implements ElasticsearchException { |
|
| 20 | 19 | } |