From ae564043410aff98e06765e812f64d0fcc4b1d1e Mon Sep 17 00:00:00 2001 From: Enrico Zimuel Date: Mon, 17 Aug 2020 17:16:04 +0200 Subject: [PATCH] Updated 7.9 endpoints with the lates changes --- src/Elasticsearch/Client.php | 161 ++++---- .../Endpoints/AsyncSearch/Delete.php | 5 +- .../Endpoints/AsyncSearch/Get.php | 5 +- .../Endpoints/AsyncSearch/Submit.php | 5 +- .../Autoscaling/DeleteAutoscalingPolicy.php | 5 +- .../Autoscaling/GetAutoscalingDecision.php | 5 +- .../Autoscaling/GetAutoscalingPolicy.php | 5 +- .../Autoscaling/PutAutoscalingPolicy.php | 5 +- src/Elasticsearch/Endpoints/Bulk.php | 6 +- src/Elasticsearch/Endpoints/Cat/Aliases.php | 5 +- .../Endpoints/Cat/Allocation.php | 5 +- src/Elasticsearch/Endpoints/Cat/Count.php | 5 +- src/Elasticsearch/Endpoints/Cat/Fielddata.php | 5 +- src/Elasticsearch/Endpoints/Cat/Health.php | 5 +- src/Elasticsearch/Endpoints/Cat/Help.php | 5 +- src/Elasticsearch/Endpoints/Cat/Indices.php | 5 +- src/Elasticsearch/Endpoints/Cat/Master.php | 5 +- .../Endpoints/Cat/MlDataFrameAnalytics.php | 5 +- .../Endpoints/Cat/MlDatafeeds.php | 5 +- src/Elasticsearch/Endpoints/Cat/MlJobs.php | 5 +- .../Endpoints/Cat/MlTrainedModels.php | 5 +- src/Elasticsearch/Endpoints/Cat/NodeAttrs.php | 5 +- src/Elasticsearch/Endpoints/Cat/Nodes.php | 5 +- .../Endpoints/Cat/PendingTasks.php | 5 +- src/Elasticsearch/Endpoints/Cat/Plugins.php | 5 +- src/Elasticsearch/Endpoints/Cat/Recovery.php | 5 +- .../Endpoints/Cat/Repositories.php | 5 +- src/Elasticsearch/Endpoints/Cat/Segments.php | 5 +- src/Elasticsearch/Endpoints/Cat/Shards.php | 5 +- src/Elasticsearch/Endpoints/Cat/Snapshots.php | 5 +- src/Elasticsearch/Endpoints/Cat/Tasks.php | 5 +- src/Elasticsearch/Endpoints/Cat/Templates.php | 5 +- .../Endpoints/Cat/ThreadPool.php | 5 +- .../Endpoints/Cat/Transforms.php | 5 +- .../Endpoints/Ccr/DeleteAutoFollowPattern.php | 5 +- src/Elasticsearch/Endpoints/Ccr/Follow.php | 5 +- .../Endpoints/Ccr/FollowInfo.php | 5 +- .../Endpoints/Ccr/FollowStats.php | 5 +- .../Endpoints/Ccr/ForgetFollower.php | 5 +- .../Endpoints/Ccr/GetAutoFollowPattern.php | 5 +- .../Endpoints/Ccr/PauseAutoFollowPattern.php | 5 +- .../Endpoints/Ccr/PauseFollow.php | 5 +- .../Endpoints/Ccr/PutAutoFollowPattern.php | 5 +- .../Endpoints/Ccr/ResumeAutoFollowPattern.php | 5 +- .../Endpoints/Ccr/ResumeFollow.php | 5 +- src/Elasticsearch/Endpoints/Ccr/Stats.php | 5 +- src/Elasticsearch/Endpoints/Ccr/Unfollow.php | 5 +- src/Elasticsearch/Endpoints/ClearScroll.php | 5 +- .../Endpoints/Cluster/AllocationExplain.php | 5 +- .../Cluster/DeleteComponentTemplate.php | 5 +- .../Cluster/DeleteVotingConfigExclusions.php | 5 +- .../Cluster/ExistsComponentTemplate.php | 5 +- .../Cluster/GetComponentTemplate.php | 5 +- .../Endpoints/Cluster/GetSettings.php | 5 +- .../Endpoints/Cluster/Health.php | 5 +- .../Endpoints/Cluster/PendingTasks.php | 5 +- .../Cluster/PostVotingConfigExclusions.php | 5 +- .../Cluster/PutComponentTemplate.php | 5 +- .../Endpoints/Cluster/PutSettings.php | 5 +- .../Endpoints/Cluster/RemoteInfo.php | 5 +- .../Endpoints/Cluster/Reroute.php | 5 +- src/Elasticsearch/Endpoints/Cluster/State.php | 5 +- src/Elasticsearch/Endpoints/Cluster/Stats.php | 5 +- src/Elasticsearch/Endpoints/Count.php | 5 +- src/Elasticsearch/Endpoints/Create.php | 5 +- .../DanglingIndices/DeleteDanglingIndex.php | 5 +- .../DanglingIndices/ImportDanglingIndex.php | 5 +- .../DanglingIndices/ListDanglingIndices.php | 5 +- .../DeleteTransform.php | 5 +- .../GetTransform.php | 5 +- .../GetTransformStats.php | 5 +- .../PreviewTransform.php | 5 +- .../PutTransform.php | 5 +- .../StartTransform.php | 5 +- .../StopTransform.php | 5 +- .../UpdateTransform.php | 5 +- src/Elasticsearch/Endpoints/Delete.php | 5 +- src/Elasticsearch/Endpoints/DeleteByQuery.php | 5 +- .../Endpoints/DeleteByQueryRethrottle.php | 5 +- src/Elasticsearch/Endpoints/DeleteScript.php | 5 +- .../Endpoints/Enrich/DeletePolicy.php | 5 +- .../Endpoints/Enrich/ExecutePolicy.php | 5 +- .../Endpoints/Enrich/GetPolicy.php | 5 +- .../Endpoints/Enrich/PutPolicy.php | 5 +- src/Elasticsearch/Endpoints/Enrich/Stats.php | 5 +- src/Elasticsearch/Endpoints/Eql/Delete.php | 5 +- src/Elasticsearch/Endpoints/Eql/Get.php | 5 +- src/Elasticsearch/Endpoints/Eql/Search.php | 5 +- src/Elasticsearch/Endpoints/Exists.php | 5 +- src/Elasticsearch/Endpoints/ExistsSource.php | 5 +- src/Elasticsearch/Endpoints/Explain.php | 5 +- src/Elasticsearch/Endpoints/FieldCaps.php | 5 +- src/Elasticsearch/Endpoints/Get.php | 5 +- src/Elasticsearch/Endpoints/GetScript.php | 5 +- .../Endpoints/GetScriptContext.php | 5 +- .../Endpoints/GetScriptLanguages.php | 5 +- src/Elasticsearch/Endpoints/GetSource.php | 5 +- src/Elasticsearch/Endpoints/Graph/Explore.php | 5 +- .../Endpoints/Ilm/DeleteLifecycle.php | 5 +- .../Endpoints/Ilm/ExplainLifecycle.php | 5 +- .../Endpoints/Ilm/GetLifecycle.php | 5 +- src/Elasticsearch/Endpoints/Ilm/GetStatus.php | 5 +- .../Endpoints/Ilm/MoveToStep.php | 5 +- .../Endpoints/Ilm/PutLifecycle.php | 5 +- .../Endpoints/Ilm/RemovePolicy.php | 5 +- src/Elasticsearch/Endpoints/Ilm/Retry.php | 5 +- src/Elasticsearch/Endpoints/Ilm/Start.php | 5 +- src/Elasticsearch/Endpoints/Ilm/Stop.php | 5 +- src/Elasticsearch/Endpoints/Index.php | 5 +- .../Endpoints/Indices/AddBlock.php | 5 +- .../Endpoints/Indices/Analyze.php | 5 +- .../Endpoints/Indices/ClearCache.php | 5 +- .../Endpoints/Indices/CloneIndices.php | 5 +- src/Elasticsearch/Endpoints/Indices/Close.php | 5 +- .../Endpoints/Indices/Create.php | 5 +- .../Endpoints/Indices/CreateDataStream.php | 15 +- .../Endpoints/Indices/DataStreamsStats.php | 10 +- .../Endpoints/Indices/Delete.php | 5 +- .../Endpoints/Indices/DeleteAlias.php | 5 +- .../Endpoints/Indices/DeleteDataStream.php | 5 +- .../Endpoints/Indices/DeleteIndexTemplate.php | 5 +- .../Endpoints/Indices/DeleteTemplate.php | 5 +- .../Endpoints/Indices/Exists.php | 5 +- .../Endpoints/Indices/ExistsAlias.php | 5 +- .../Endpoints/Indices/ExistsIndexTemplate.php | 5 +- .../Endpoints/Indices/ExistsTemplate.php | 5 +- .../Endpoints/Indices/ExistsType.php | 5 +- src/Elasticsearch/Endpoints/Indices/Flush.php | 5 +- .../Endpoints/Indices/FlushSynced.php | 5 +- .../Endpoints/Indices/ForceMerge.php | 5 +- .../Endpoints/Indices/Freeze.php | 5 +- src/Elasticsearch/Endpoints/Indices/Get.php | 5 +- .../Endpoints/Indices/GetAlias.php | 5 +- .../Endpoints/Indices/GetDataStream.php | 5 +- .../Endpoints/Indices/GetFieldMapping.php | 5 +- .../Endpoints/Indices/GetIndexTemplate.php | 5 +- .../Endpoints/Indices/GetMapping.php | 5 +- .../Endpoints/Indices/GetSettings.php | 5 +- .../Endpoints/Indices/GetTemplate.php | 5 +- .../Endpoints/Indices/GetUpgrade.php | 5 +- src/Elasticsearch/Endpoints/Indices/Open.php | 5 +- .../Endpoints/Indices/PutAlias.php | 5 +- .../Endpoints/Indices/PutIndexTemplate.php | 5 +- .../Endpoints/Indices/PutMapping.php | 5 +- .../Endpoints/Indices/PutSettings.php | 5 +- .../Endpoints/Indices/PutTemplate.php | 5 +- .../Endpoints/Indices/Recovery.php | 5 +- .../Endpoints/Indices/Refresh.php | 5 +- .../Indices/ReloadSearchAnalyzers.php | 5 +- .../Endpoints/Indices/ResolveIndex.php | 5 +- .../Endpoints/Indices/Rollover.php | 5 +- .../Endpoints/Indices/Segments.php | 5 +- .../Endpoints/Indices/ShardStores.php | 5 +- .../Endpoints/Indices/Shrink.php | 5 +- .../Indices/SimulateIndexTemplate.php | 5 +- .../Endpoints/Indices/SimulateTemplate.php | 5 +- src/Elasticsearch/Endpoints/Indices/Split.php | 5 +- src/Elasticsearch/Endpoints/Indices/Stats.php | 5 +- .../Endpoints/Indices/Unfreeze.php | 5 +- .../Endpoints/Indices/UpdateAliases.php | 5 +- .../Endpoints/Indices/Upgrade.php | 5 +- .../Endpoints/Indices/ValidateQuery.php | 5 +- src/Elasticsearch/Endpoints/Info.php | 5 +- .../Endpoints/Ingest/DeletePipeline.php | 5 +- .../Endpoints/Ingest/GetPipeline.php | 5 +- .../Endpoints/Ingest/ProcessorGrok.php | 5 +- .../Endpoints/Ingest/PutPipeline.php | 5 +- .../Endpoints/Ingest/Simulate.php | 5 +- .../Endpoints/License/Delete.php | 5 +- src/Elasticsearch/Endpoints/License/Get.php | 5 +- .../Endpoints/License/GetBasicStatus.php | 5 +- .../Endpoints/License/GetTrialStatus.php | 5 +- src/Elasticsearch/Endpoints/License/Post.php | 5 +- .../Endpoints/License/PostStartBasic.php | 5 +- .../Endpoints/License/PostStartTrial.php | 5 +- src/Elasticsearch/Endpoints/MTermVectors.php | 5 +- src/Elasticsearch/Endpoints/Mget.php | 5 +- .../Endpoints/Migration/Deprecations.php | 5 +- src/Elasticsearch/Endpoints/Ml/CloseJob.php | 5 +- .../Endpoints/Ml/DeleteCalendar.php | 5 +- .../Endpoints/Ml/DeleteCalendarEvent.php | 5 +- .../Endpoints/Ml/DeleteCalendarJob.php | 5 +- .../Endpoints/Ml/DeleteDataFrameAnalytics.php | 5 +- .../Endpoints/Ml/DeleteDatafeed.php | 5 +- .../Endpoints/Ml/DeleteExpiredData.php | 5 +- .../Endpoints/Ml/DeleteFilter.php | 5 +- .../Endpoints/Ml/DeleteForecast.php | 5 +- src/Elasticsearch/Endpoints/Ml/DeleteJob.php | 5 +- .../Endpoints/Ml/DeleteModelSnapshot.php | 5 +- .../Endpoints/Ml/DeleteTrainedModel.php | 5 +- .../Endpoints/Ml/EstimateModelMemory.php | 5 +- .../Endpoints/Ml/EvaluateDataFrame.php | 5 +- .../Ml/ExplainDataFrameAnalytics.php | 5 +- .../Endpoints/Ml/FindFileStructure.php | 6 +- src/Elasticsearch/Endpoints/Ml/FlushJob.php | 5 +- src/Elasticsearch/Endpoints/Ml/Forecast.php | 5 +- src/Elasticsearch/Endpoints/Ml/GetBuckets.php | 5 +- .../Endpoints/Ml/GetCalendarEvents.php | 5 +- .../Endpoints/Ml/GetCalendars.php | 5 +- .../Endpoints/Ml/GetCategories.php | 5 +- .../Endpoints/Ml/GetDataFrameAnalytics.php | 5 +- .../Ml/GetDataFrameAnalyticsStats.php | 5 +- .../Endpoints/Ml/GetDatafeedStats.php | 5 +- .../Endpoints/Ml/GetDatafeeds.php | 5 +- src/Elasticsearch/Endpoints/Ml/GetFilters.php | 5 +- .../Endpoints/Ml/GetInfluencers.php | 5 +- .../Endpoints/Ml/GetJobStats.php | 5 +- src/Elasticsearch/Endpoints/Ml/GetJobs.php | 5 +- .../Endpoints/Ml/GetModelSnapshots.php | 5 +- .../Endpoints/Ml/GetOverallBuckets.php | 5 +- src/Elasticsearch/Endpoints/Ml/GetRecords.php | 5 +- .../Endpoints/Ml/GetTrainedModels.php | 5 +- .../Endpoints/Ml/GetTrainedModelsStats.php | 5 +- src/Elasticsearch/Endpoints/Ml/Info.php | 5 +- src/Elasticsearch/Endpoints/Ml/OpenJob.php | 5 +- .../Endpoints/Ml/PostCalendarEvents.php | 5 +- src/Elasticsearch/Endpoints/Ml/PostData.php | 6 +- .../Endpoints/Ml/PreviewDatafeed.php | 5 +- .../Endpoints/Ml/PutCalendar.php | 5 +- .../Endpoints/Ml/PutCalendarJob.php | 5 +- .../Endpoints/Ml/PutDataFrameAnalytics.php | 5 +- .../Endpoints/Ml/PutDatafeed.php | 5 +- src/Elasticsearch/Endpoints/Ml/PutFilter.php | 5 +- src/Elasticsearch/Endpoints/Ml/PutJob.php | 5 +- .../Endpoints/Ml/PutTrainedModel.php | 5 +- .../Endpoints/Ml/RevertModelSnapshot.php | 5 +- .../Endpoints/Ml/SetUpgradeMode.php | 5 +- .../Endpoints/Ml/StartDataFrameAnalytics.php | 5 +- .../Endpoints/Ml/StartDatafeed.php | 5 +- .../Endpoints/Ml/StopDataFrameAnalytics.php | 5 +- .../Endpoints/Ml/StopDatafeed.php | 5 +- .../Endpoints/Ml/UpdateDataFrameAnalytics.php | 5 +- .../Endpoints/Ml/UpdateDatafeed.php | 5 +- .../Endpoints/Ml/UpdateFilter.php | 5 +- src/Elasticsearch/Endpoints/Ml/UpdateJob.php | 5 +- .../Endpoints/Ml/UpdateModelSnapshot.php | 5 +- src/Elasticsearch/Endpoints/Ml/Validate.php | 5 +- .../Endpoints/Ml/ValidateDetector.php | 5 +- .../Endpoints/Monitoring/Bulk.php | 6 +- src/Elasticsearch/Endpoints/Msearch.php | 6 +- .../Endpoints/MsearchTemplate.php | 6 +- .../Endpoints/Nodes/HotThreads.php | 5 +- src/Elasticsearch/Endpoints/Nodes/Info.php | 5 +- .../Endpoints/Nodes/ReloadSecureSettings.php | 5 +- src/Elasticsearch/Endpoints/Nodes/Stats.php | 5 +- src/Elasticsearch/Endpoints/Nodes/Usage.php | 5 +- src/Elasticsearch/Endpoints/Ping.php | 5 +- src/Elasticsearch/Endpoints/PutScript.php | 5 +- src/Elasticsearch/Endpoints/RankEval.php | 5 +- src/Elasticsearch/Endpoints/Reindex.php | 5 +- .../Endpoints/ReindexRethrottle.php | 5 +- .../Endpoints/RenderSearchTemplate.php | 5 +- .../Endpoints/Rollup/DeleteJob.php | 5 +- .../Endpoints/Rollup/GetJobs.php | 5 +- .../Endpoints/Rollup/GetRollupCaps.php | 5 +- .../Endpoints/Rollup/GetRollupIndexCaps.php | 5 +- src/Elasticsearch/Endpoints/Rollup/PutJob.php | 5 +- .../Endpoints/Rollup/RollupSearch.php | 5 +- .../Endpoints/Rollup/StartJob.php | 5 +- .../Endpoints/Rollup/StopJob.php | 5 +- .../Endpoints/ScriptsPainlessExecute.php | 5 +- src/Elasticsearch/Endpoints/Scroll.php | 5 +- src/Elasticsearch/Endpoints/Search.php | 5 +- src/Elasticsearch/Endpoints/SearchShards.php | 5 +- .../Endpoints/SearchTemplate.php | 5 +- .../SearchableSnapshots/ClearCache.php | 5 +- .../Endpoints/SearchableSnapshots/Mount.php | 5 +- .../SearchableSnapshots/RepositoryStats.php | 5 +- .../Endpoints/SearchableSnapshots/Stats.php | 5 +- .../Endpoints/Security/Authenticate.php | 5 +- .../Endpoints/Security/ChangePassword.php | 5 +- .../Security/ClearCachedPrivileges.php | 5 +- .../Endpoints/Security/ClearCachedRealms.php | 5 +- .../Endpoints/Security/ClearCachedRoles.php | 5 +- .../Endpoints/Security/CreateApiKey.php | 5 +- .../Endpoints/Security/DeletePrivileges.php | 5 +- .../Endpoints/Security/DeleteRole.php | 5 +- .../Endpoints/Security/DeleteRoleMapping.php | 5 +- .../Endpoints/Security/DeleteUser.php | 5 +- .../Endpoints/Security/DisableUser.php | 5 +- .../Endpoints/Security/EnableUser.php | 5 +- .../Endpoints/Security/GetApiKey.php | 5 +- .../Security/GetBuiltinPrivileges.php | 5 +- .../Endpoints/Security/GetPrivileges.php | 5 +- .../Endpoints/Security/GetRole.php | 5 +- .../Endpoints/Security/GetRoleMapping.php | 5 +- .../Endpoints/Security/GetToken.php | 5 +- .../Endpoints/Security/GetUser.php | 5 +- .../Endpoints/Security/GetUserPrivileges.php | 5 +- .../Endpoints/Security/HasPrivileges.php | 5 +- .../Endpoints/Security/InvalidateApiKey.php | 5 +- .../Endpoints/Security/InvalidateToken.php | 5 +- .../Endpoints/Security/PutPrivileges.php | 5 +- .../Endpoints/Security/PutRole.php | 5 +- .../Endpoints/Security/PutRoleMapping.php | 5 +- .../Endpoints/Security/PutUser.php | 5 +- .../Endpoints/Slm/DeleteLifecycle.php | 5 +- .../Endpoints/Slm/ExecuteLifecycle.php | 5 +- .../Endpoints/Slm/ExecuteRetention.php | 5 +- .../Endpoints/Slm/GetLifecycle.php | 5 +- src/Elasticsearch/Endpoints/Slm/GetStats.php | 5 +- src/Elasticsearch/Endpoints/Slm/GetStatus.php | 5 +- .../Endpoints/Slm/PutLifecycle.php | 5 +- src/Elasticsearch/Endpoints/Slm/Start.php | 5 +- src/Elasticsearch/Endpoints/Slm/Stop.php | 5 +- .../Endpoints/Snapshot/CleanupRepository.php | 5 +- .../Endpoints/Snapshot/Create.php | 5 +- .../Endpoints/Snapshot/CreateRepository.php | 5 +- .../Endpoints/Snapshot/Delete.php | 5 +- .../Endpoints/Snapshot/DeleteRepository.php | 5 +- src/Elasticsearch/Endpoints/Snapshot/Get.php | 5 +- .../Endpoints/Snapshot/GetRepository.php | 5 +- .../Endpoints/Snapshot/Restore.php | 5 +- .../Endpoints/Snapshot/Status.php | 5 +- .../Endpoints/Snapshot/VerifyRepository.php | 5 +- .../Endpoints/Sql/ClearCursor.php | 5 +- src/Elasticsearch/Endpoints/Sql/Query.php | 5 +- src/Elasticsearch/Endpoints/Sql/Translate.php | 5 +- .../Endpoints/Ssl/Certificates.php | 5 +- src/Elasticsearch/Endpoints/Tasks/Cancel.php | 5 +- src/Elasticsearch/Endpoints/Tasks/Get.php | 5 +- .../Endpoints/Tasks/ListTasks.php | 5 +- src/Elasticsearch/Endpoints/TermVectors.php | 5 +- .../Endpoints/Transform/DeleteTransform.php | 5 +- .../Endpoints/Transform/GetTransform.php | 5 +- .../Endpoints/Transform/GetTransformStats.php | 5 +- .../Endpoints/Transform/PreviewTransform.php | 5 +- .../Endpoints/Transform/PutTransform.php | 5 +- .../Endpoints/Transform/StartTransform.php | 5 +- .../Endpoints/Transform/StopTransform.php | 5 +- .../Endpoints/Transform/UpdateTransform.php | 5 +- src/Elasticsearch/Endpoints/Update.php | 5 +- src/Elasticsearch/Endpoints/UpdateByQuery.php | 5 +- .../Endpoints/UpdateByQueryRethrottle.php | 5 +- .../Endpoints/Watcher/AckWatch.php | 5 +- .../Endpoints/Watcher/ActivateWatch.php | 5 +- .../Endpoints/Watcher/DeactivateWatch.php | 5 +- .../Endpoints/Watcher/DeleteWatch.php | 5 +- .../Endpoints/Watcher/ExecuteWatch.php | 5 +- .../Endpoints/Watcher/GetWatch.php | 5 +- .../Endpoints/Watcher/PutWatch.php | 5 +- src/Elasticsearch/Endpoints/Watcher/Start.php | 5 +- src/Elasticsearch/Endpoints/Watcher/Stats.php | 5 +- src/Elasticsearch/Endpoints/Watcher/Stop.php | 5 +- src/Elasticsearch/Endpoints/Xpack/Info.php | 5 +- src/Elasticsearch/Endpoints/Xpack/Usage.php | 5 +- .../Namespaces/AsyncSearchNamespace.php | 17 +- .../Namespaces/AutoscalingNamespace.php | 20 +- src/Elasticsearch/Namespaces/CatNamespace.php | 105 +++-- src/Elasticsearch/Namespaces/CcrNamespace.php | 53 ++- .../Namespaces/ClusterNamespace.php | 69 ++-- .../Namespaces/DanglingIndicesNamespace.php | 17 +- .../DataFrameTransformDeprecatedNamespace.php | 40 +- .../Namespaces/EnrichNamespace.php | 21 +- src/Elasticsearch/Namespaces/EqlNamespace.php | 20 +- .../Namespaces/GraphNamespace.php | 9 +- src/Elasticsearch/Namespaces/IlmNamespace.php | 45 ++- .../Namespaces/IndicesNamespace.php | 369 +++++++++--------- .../Namespaces/IngestNamespace.php | 25 +- .../Namespaces/LicenseNamespace.php | 29 +- .../Namespaces/MigrationNamespace.php | 9 +- src/Elasticsearch/Namespaces/MlNamespace.php | 250 ++++++------ .../Namespaces/MonitoringNamespace.php | 10 +- .../Namespaces/NodesNamespace.php | 25 +- .../Namespaces/RollupNamespace.php | 45 ++- .../SearchableSnapshotsNamespace.php | 25 +- .../Namespaces/SecurityNamespace.php | 109 +++--- src/Elasticsearch/Namespaces/SlmNamespace.php | 41 +- .../Namespaces/SnapshotNamespace.php | 45 ++- src/Elasticsearch/Namespaces/SqlNamespace.php | 13 +- src/Elasticsearch/Namespaces/SslNamespace.php | 9 +- .../Namespaces/TasksNamespace.php | 17 +- .../Namespaces/TransformNamespace.php | 33 +- .../Namespaces/WatcherNamespace.php | 45 ++- .../Namespaces/XpackNamespace.php | 13 +- 375 files changed, 1547 insertions(+), 1888 deletions(-) diff --git a/src/Elasticsearch/Client.php b/src/Elasticsearch/Client.php index 6e2c4ed76..8cea3694d 100644 --- a/src/Elasticsearch/Client.php +++ b/src/Elasticsearch/Client.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch; @@ -288,9 +287,9 @@ public function __construct(Transport $transport, callable $endpoint, array $reg * $params['pipeline'] = (string) The pipeline id to preprocess incoming documents with * $params['body'] = (array) The operation definition and data (action-data pairs), separated by newlines (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html */ public function bulk(array $params = []) { @@ -311,9 +310,9 @@ public function bulk(array $params = []) * $params['scroll_id'] = DEPRECATED (list) A comma-separated list of scroll IDs to clear * $params['body'] = (array) A comma-separated list of scroll IDs to clear if none was specified via the scroll_id parameter * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#_clear_scroll_api + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html */ public function clearScroll(array $params = []) { @@ -347,9 +346,9 @@ public function clearScroll(array $params = []) * $params['terminate_after'] = (number) The maximum count for each shard, upon reaching which the query execution will terminate early * $params['body'] = (array) A query to restrict the results specified with the Query DSL (optional) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html */ public function count(array $params = []) { @@ -379,9 +378,9 @@ public function count(array $params = []) * $params['pipeline'] = (string) The pipeline id to preprocess incoming documents with * $params['body'] = (array) The document (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html */ public function create(array $params = []) { @@ -413,9 +412,9 @@ public function create(array $params = []) * $params['version'] = (number) Explicit version number for concurrency control * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html */ public function delete(array $params = []) { @@ -470,9 +469,9 @@ public function delete(array $params = []) * $params['slices'] = (number|string) The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks. Can be set to `auto`. (Default = 1) * $params['body'] = (array) The search definition using the Query DSL (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html */ public function deleteByQuery(array $params = []) { @@ -493,9 +492,9 @@ public function deleteByQuery(array $params = []) * $params['task_id'] = (string) The task id to rethrottle * $params['requests_per_second'] = (number) The throttle to set on this request in floating sub-requests per second. -1 means set no throttle. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html */ public function deleteByQueryRethrottle(array $params = []) { @@ -513,9 +512,9 @@ public function deleteByQueryRethrottle(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html */ public function deleteScript(array $params = []) { @@ -543,9 +542,9 @@ public function deleteScript(array $params = []) * $params['version'] = (number) Explicit version number for concurrency control * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html */ public function exists(array $params = []): bool { @@ -579,9 +578,9 @@ public function exists(array $params = []): bool * $params['version'] = (number) Explicit version number for concurrency control * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html */ public function existsSource(array $params = []): bool { @@ -619,9 +618,9 @@ public function existsSource(array $params = []): bool * $params['_source_includes'] = (list) A list of fields to extract and return from the _source field * $params['body'] = (array) The query definition using the Query DSL * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html */ public function explain(array $params = []) { @@ -649,9 +648,9 @@ public function explain(array $params = []) * $params['include_unmapped'] = (boolean) Indicates whether unmapped fields should be included in the response. (Default = false) * $params['body'] = (array) An index filter specified with the Query DSL * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html */ public function fieldCaps(array $params = []) { @@ -681,9 +680,9 @@ public function fieldCaps(array $params = []) * $params['version'] = (number) Explicit version number for concurrency control * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html */ public function get(array $params = []) { @@ -704,9 +703,9 @@ public function get(array $params = []) * $params['id'] = (string) Script ID * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html */ public function getScript(array $params = []) { @@ -721,11 +720,12 @@ public function getScript(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html + * @see https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function getScriptContext(array $params = []) { @@ -738,11 +738,12 @@ public function getScriptContext(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function getScriptLanguages(array $params = []) { @@ -767,9 +768,9 @@ public function getScriptLanguages(array $params = []) * $params['version'] = (number) Explicit version number for concurrency control * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html */ public function getSource(array $params = []) { @@ -802,9 +803,9 @@ public function getSource(array $params = []) * $params['pipeline'] = (string) The pipeline id to preprocess incoming documents with * $params['body'] = (array) The document (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html */ public function index(array $params = []) { @@ -825,9 +826,9 @@ public function index(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html */ public function info(array $params = []) { @@ -851,9 +852,9 @@ public function info(array $params = []) * $params['_source_includes'] = (list) A list of fields to extract and return from the _source field * $params['body'] = (array) Document identifiers; can be either `docs` (containing full document information) or `ids` (when index and type is provided in the URL. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-get.html */ public function mget(array $params = []) { @@ -882,9 +883,9 @@ public function mget(array $params = []) * $params['ccs_minimize_roundtrips'] = (boolean) Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution (Default = true) * $params['body'] = (array) The request definitions (metadata-search request definition pairs), separated by newlines (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-multi-search.html */ public function msearch(array $params = []) { @@ -911,9 +912,9 @@ public function msearch(array $params = []) * $params['ccs_minimize_roundtrips'] = (boolean) Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution (Default = true) * $params['body'] = (array) The request definitions (metadata-search request definition pairs), separated by newlines (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html */ public function msearchTemplate(array $params = []) { @@ -947,9 +948,9 @@ public function msearchTemplate(array $params = []) * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) * $params['body'] = (array) Define ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html */ public function mtermvectors(array $params = []) { @@ -968,9 +969,9 @@ public function mtermvectors(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html */ public function ping(array $params = []): bool { @@ -991,9 +992,9 @@ public function ping(array $params = []): bool * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) The document (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html */ public function putScript(array $params = []) { @@ -1018,11 +1019,12 @@ public function putScript(array $params = []) * $params['search_type'] = (enum) Search operation type (Options = query_then_fetch,dfs_query_then_fetch) * $params['body'] = (array) The ranking evaluation search definition, including search requests, document ratings and ranking metric definition. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-rank-eval.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function rankEval(array $params = []) { @@ -1048,9 +1050,9 @@ public function rankEval(array $params = []) * $params['max_docs'] = (number) Maximum number of documents to process (default: all documents) * $params['body'] = (array) The search definition using the Query DSL and the prototype for the index request. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html */ public function reindex(array $params = []) { @@ -1067,9 +1069,9 @@ public function reindex(array $params = []) * $params['task_id'] = (string) The task id to rethrottle * $params['requests_per_second'] = (number) The throttle to set on this request in floating sub-requests per second. -1 means set no throttle. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html */ public function reindexRethrottle(array $params = []) { @@ -1086,9 +1088,9 @@ public function reindexRethrottle(array $params = []) * $params['id'] = (string) The id of the stored search template * $params['body'] = (array) The search definition template and its params * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html#_validating_templates + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html#_validating_templates */ public function renderSearchTemplate(array $params = []) { @@ -1106,11 +1108,12 @@ public function renderSearchTemplate(array $params = []) /** * $params['body'] = (array) The script to execute * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-execute-api.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function scriptsPainlessExecute(array $params = []) { @@ -1129,9 +1132,9 @@ public function scriptsPainlessExecute(array $params = []) * $params['rest_total_hits_as_int'] = (boolean) Indicates whether hits.total should be rendered as an integer or an object in the rest search response (Default = false) * $params['body'] = (array) The scroll ID if not passed by URL or query parameter. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-request-body.html#request-body-search-scroll */ public function scroll(array $params = []) { @@ -1193,9 +1196,9 @@ public function scroll(array $params = []) * $params['rest_total_hits_as_int'] = (boolean) Indicates whether hits.total should be rendered as an integer or an object in the rest search response (Default = false) * $params['body'] = (array) The search definition using the Query DSL * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-search.html */ public function search(array $params = []) { @@ -1221,9 +1224,9 @@ public function search(array $params = []) * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-shards.html */ public function searchShards(array $params = []) { @@ -1254,9 +1257,9 @@ public function searchShards(array $params = []) * $params['ccs_minimize_roundtrips'] = (boolean) Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution (Default = true) * $params['body'] = (array) The search definition template and its params (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-template.html */ public function searchTemplate(array $params = []) { @@ -1290,9 +1293,9 @@ public function searchTemplate(array $params = []) * $params['version_type'] = (enum) Specific version type (Options = internal,external,external_gte,force) * $params['body'] = (array) Define parameters and or supply a document to get termvectors for. See documentation. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-termvectors.html */ public function termvectors(array $params = []) { @@ -1328,9 +1331,9 @@ public function termvectors(array $params = []) * $params['if_primary_term'] = (number) only perform the update operation if the last operation that has changed the document has the specified primary term * $params['body'] = (array) The request definition requires either `script` or partial `doc` (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update.html */ public function update(array $params = []) { @@ -1389,9 +1392,9 @@ public function update(array $params = []) * $params['slices'] = (number|string) The number of slices this task should be divided into. Defaults to 1, meaning the task isn't sliced into subtasks. Can be set to `auto`. (Default = 1) * $params['body'] = (array) The search definition using the Query DSL * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-update-by-query.html */ public function updateByQuery(array $params = []) { @@ -1412,9 +1415,9 @@ public function updateByQuery(array $params = []) * $params['task_id'] = (string) The task id to rethrottle * $params['requests_per_second'] = (number) The throttle to set on this request in floating sub-requests per second. -1 means set no throttle. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html */ public function updateByQueryRethrottle(array $params = []) { diff --git a/src/Elasticsearch/Endpoints/AsyncSearch/Delete.php b/src/Elasticsearch/Endpoints/AsyncSearch/Delete.php index 906ddbd0d..2a72c0e48 100644 --- a/src/Elasticsearch/Endpoints/AsyncSearch/Delete.php +++ b/src/Elasticsearch/Endpoints/AsyncSearch/Delete.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\AsyncSearch; diff --git a/src/Elasticsearch/Endpoints/AsyncSearch/Get.php b/src/Elasticsearch/Endpoints/AsyncSearch/Get.php index bcfa4493f..259342930 100644 --- a/src/Elasticsearch/Endpoints/AsyncSearch/Get.php +++ b/src/Elasticsearch/Endpoints/AsyncSearch/Get.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\AsyncSearch; diff --git a/src/Elasticsearch/Endpoints/AsyncSearch/Submit.php b/src/Elasticsearch/Endpoints/AsyncSearch/Submit.php index 824565fcb..8ca51efe7 100644 --- a/src/Elasticsearch/Endpoints/AsyncSearch/Submit.php +++ b/src/Elasticsearch/Endpoints/AsyncSearch/Submit.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\AsyncSearch; diff --git a/src/Elasticsearch/Endpoints/Autoscaling/DeleteAutoscalingPolicy.php b/src/Elasticsearch/Endpoints/Autoscaling/DeleteAutoscalingPolicy.php index ea3f99185..268efca52 100644 --- a/src/Elasticsearch/Endpoints/Autoscaling/DeleteAutoscalingPolicy.php +++ b/src/Elasticsearch/Endpoints/Autoscaling/DeleteAutoscalingPolicy.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Autoscaling; diff --git a/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingDecision.php b/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingDecision.php index b65512d4c..655592c1b 100644 --- a/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingDecision.php +++ b/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingDecision.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Autoscaling; diff --git a/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingPolicy.php b/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingPolicy.php index 458751f7a..b76cd9a3b 100644 --- a/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingPolicy.php +++ b/src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingPolicy.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Autoscaling; diff --git a/src/Elasticsearch/Endpoints/Autoscaling/PutAutoscalingPolicy.php b/src/Elasticsearch/Endpoints/Autoscaling/PutAutoscalingPolicy.php index f9d8f5922..b3d603bc1 100644 --- a/src/Elasticsearch/Endpoints/Autoscaling/PutAutoscalingPolicy.php +++ b/src/Elasticsearch/Endpoints/Autoscaling/PutAutoscalingPolicy.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Autoscaling; diff --git a/src/Elasticsearch/Endpoints/Bulk.php b/src/Elasticsearch/Endpoints/Bulk.php index 90841d240..fb67cfa06 100644 --- a/src/Elasticsearch/Endpoints/Bulk.php +++ b/src/Elasticsearch/Endpoints/Bulk.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; @@ -91,4 +90,5 @@ public function setBody($body): Bulk } return $this; } + } diff --git a/src/Elasticsearch/Endpoints/Cat/Aliases.php b/src/Elasticsearch/Endpoints/Cat/Aliases.php index f53932d40..a058e6c92 100644 --- a/src/Elasticsearch/Endpoints/Cat/Aliases.php +++ b/src/Elasticsearch/Endpoints/Cat/Aliases.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Allocation.php b/src/Elasticsearch/Endpoints/Cat/Allocation.php index 5b0e31478..66ce9f0f4 100644 --- a/src/Elasticsearch/Endpoints/Cat/Allocation.php +++ b/src/Elasticsearch/Endpoints/Cat/Allocation.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Count.php b/src/Elasticsearch/Endpoints/Cat/Count.php index e87001bf6..d1c3eb6f0 100644 --- a/src/Elasticsearch/Endpoints/Cat/Count.php +++ b/src/Elasticsearch/Endpoints/Cat/Count.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Fielddata.php b/src/Elasticsearch/Endpoints/Cat/Fielddata.php index 0f97e0082..4af939397 100644 --- a/src/Elasticsearch/Endpoints/Cat/Fielddata.php +++ b/src/Elasticsearch/Endpoints/Cat/Fielddata.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Health.php b/src/Elasticsearch/Endpoints/Cat/Health.php index d683ec30c..cf381d825 100644 --- a/src/Elasticsearch/Endpoints/Cat/Health.php +++ b/src/Elasticsearch/Endpoints/Cat/Health.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Help.php b/src/Elasticsearch/Endpoints/Cat/Help.php index 984bec736..c1ca30fce 100644 --- a/src/Elasticsearch/Endpoints/Cat/Help.php +++ b/src/Elasticsearch/Endpoints/Cat/Help.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Indices.php b/src/Elasticsearch/Endpoints/Cat/Indices.php index d75394318..bedc34f41 100644 --- a/src/Elasticsearch/Endpoints/Cat/Indices.php +++ b/src/Elasticsearch/Endpoints/Cat/Indices.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Master.php b/src/Elasticsearch/Endpoints/Cat/Master.php index 078ba785e..1f1875d4f 100644 --- a/src/Elasticsearch/Endpoints/Cat/Master.php +++ b/src/Elasticsearch/Endpoints/Cat/Master.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/MlDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Cat/MlDataFrameAnalytics.php index 6347f6a4b..de81134b2 100644 --- a/src/Elasticsearch/Endpoints/Cat/MlDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Cat/MlDataFrameAnalytics.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/MlDatafeeds.php b/src/Elasticsearch/Endpoints/Cat/MlDatafeeds.php index f55c69a2b..2352eda08 100644 --- a/src/Elasticsearch/Endpoints/Cat/MlDatafeeds.php +++ b/src/Elasticsearch/Endpoints/Cat/MlDatafeeds.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/MlJobs.php b/src/Elasticsearch/Endpoints/Cat/MlJobs.php index ec5bb355a..4793042fa 100644 --- a/src/Elasticsearch/Endpoints/Cat/MlJobs.php +++ b/src/Elasticsearch/Endpoints/Cat/MlJobs.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/MlTrainedModels.php b/src/Elasticsearch/Endpoints/Cat/MlTrainedModels.php index bb7d07592..612fc40f0 100644 --- a/src/Elasticsearch/Endpoints/Cat/MlTrainedModels.php +++ b/src/Elasticsearch/Endpoints/Cat/MlTrainedModels.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/NodeAttrs.php b/src/Elasticsearch/Endpoints/Cat/NodeAttrs.php index f35c94c0c..7691c4ea0 100644 --- a/src/Elasticsearch/Endpoints/Cat/NodeAttrs.php +++ b/src/Elasticsearch/Endpoints/Cat/NodeAttrs.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Nodes.php b/src/Elasticsearch/Endpoints/Cat/Nodes.php index 446cf783d..3ef282f11 100644 --- a/src/Elasticsearch/Endpoints/Cat/Nodes.php +++ b/src/Elasticsearch/Endpoints/Cat/Nodes.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/PendingTasks.php b/src/Elasticsearch/Endpoints/Cat/PendingTasks.php index 44c8e00d7..abef0b1a4 100644 --- a/src/Elasticsearch/Endpoints/Cat/PendingTasks.php +++ b/src/Elasticsearch/Endpoints/Cat/PendingTasks.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Plugins.php b/src/Elasticsearch/Endpoints/Cat/Plugins.php index 84e7df617..430cea891 100644 --- a/src/Elasticsearch/Endpoints/Cat/Plugins.php +++ b/src/Elasticsearch/Endpoints/Cat/Plugins.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Recovery.php b/src/Elasticsearch/Endpoints/Cat/Recovery.php index 0f48c74cd..8bbbbbe9b 100644 --- a/src/Elasticsearch/Endpoints/Cat/Recovery.php +++ b/src/Elasticsearch/Endpoints/Cat/Recovery.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Repositories.php b/src/Elasticsearch/Endpoints/Cat/Repositories.php index 30effcbe9..77967d1e7 100644 --- a/src/Elasticsearch/Endpoints/Cat/Repositories.php +++ b/src/Elasticsearch/Endpoints/Cat/Repositories.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Segments.php b/src/Elasticsearch/Endpoints/Cat/Segments.php index 3bd673fe5..eed35851a 100644 --- a/src/Elasticsearch/Endpoints/Cat/Segments.php +++ b/src/Elasticsearch/Endpoints/Cat/Segments.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Shards.php b/src/Elasticsearch/Endpoints/Cat/Shards.php index c6ecfb037..e71651c6e 100644 --- a/src/Elasticsearch/Endpoints/Cat/Shards.php +++ b/src/Elasticsearch/Endpoints/Cat/Shards.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Snapshots.php b/src/Elasticsearch/Endpoints/Cat/Snapshots.php index ba36c5dc8..18575b0fc 100644 --- a/src/Elasticsearch/Endpoints/Cat/Snapshots.php +++ b/src/Elasticsearch/Endpoints/Cat/Snapshots.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Tasks.php b/src/Elasticsearch/Endpoints/Cat/Tasks.php index 7d830ecec..508449b79 100644 --- a/src/Elasticsearch/Endpoints/Cat/Tasks.php +++ b/src/Elasticsearch/Endpoints/Cat/Tasks.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Templates.php b/src/Elasticsearch/Endpoints/Cat/Templates.php index 949bdeb9f..709c0a56c 100644 --- a/src/Elasticsearch/Endpoints/Cat/Templates.php +++ b/src/Elasticsearch/Endpoints/Cat/Templates.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/ThreadPool.php b/src/Elasticsearch/Endpoints/Cat/ThreadPool.php index 389a766db..5a0a01499 100644 --- a/src/Elasticsearch/Endpoints/Cat/ThreadPool.php +++ b/src/Elasticsearch/Endpoints/Cat/ThreadPool.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Cat/Transforms.php b/src/Elasticsearch/Endpoints/Cat/Transforms.php index ea7b0501c..be95fb347 100644 --- a/src/Elasticsearch/Endpoints/Cat/Transforms.php +++ b/src/Elasticsearch/Endpoints/Cat/Transforms.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cat; diff --git a/src/Elasticsearch/Endpoints/Ccr/DeleteAutoFollowPattern.php b/src/Elasticsearch/Endpoints/Ccr/DeleteAutoFollowPattern.php index 8d9ec2531..4bb4734a5 100644 --- a/src/Elasticsearch/Endpoints/Ccr/DeleteAutoFollowPattern.php +++ b/src/Elasticsearch/Endpoints/Ccr/DeleteAutoFollowPattern.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ccr; diff --git a/src/Elasticsearch/Endpoints/Ccr/Follow.php b/src/Elasticsearch/Endpoints/Ccr/Follow.php index aafea5acf..3696ff9ea 100644 --- a/src/Elasticsearch/Endpoints/Ccr/Follow.php +++ b/src/Elasticsearch/Endpoints/Ccr/Follow.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ccr; diff --git a/src/Elasticsearch/Endpoints/Ccr/FollowInfo.php b/src/Elasticsearch/Endpoints/Ccr/FollowInfo.php index b82ad416f..00d728135 100644 --- a/src/Elasticsearch/Endpoints/Ccr/FollowInfo.php +++ b/src/Elasticsearch/Endpoints/Ccr/FollowInfo.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ccr; diff --git a/src/Elasticsearch/Endpoints/Ccr/FollowStats.php b/src/Elasticsearch/Endpoints/Ccr/FollowStats.php index 0e2d76f86..19b589c77 100644 --- a/src/Elasticsearch/Endpoints/Ccr/FollowStats.php +++ b/src/Elasticsearch/Endpoints/Ccr/FollowStats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ccr; diff --git a/src/Elasticsearch/Endpoints/Ccr/ForgetFollower.php b/src/Elasticsearch/Endpoints/Ccr/ForgetFollower.php index 7cf022034..d726b1c7b 100644 --- a/src/Elasticsearch/Endpoints/Ccr/ForgetFollower.php +++ b/src/Elasticsearch/Endpoints/Ccr/ForgetFollower.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ccr; diff --git a/src/Elasticsearch/Endpoints/Ccr/GetAutoFollowPattern.php b/src/Elasticsearch/Endpoints/Ccr/GetAutoFollowPattern.php index 9c87ffb11..742121afa 100644 --- a/src/Elasticsearch/Endpoints/Ccr/GetAutoFollowPattern.php +++ b/src/Elasticsearch/Endpoints/Ccr/GetAutoFollowPattern.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ccr; diff --git a/src/Elasticsearch/Endpoints/Ccr/PauseAutoFollowPattern.php b/src/Elasticsearch/Endpoints/Ccr/PauseAutoFollowPattern.php index a21c7dd41..1f0b31621 100644 --- a/src/Elasticsearch/Endpoints/Ccr/PauseAutoFollowPattern.php +++ b/src/Elasticsearch/Endpoints/Ccr/PauseAutoFollowPattern.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ccr; diff --git a/src/Elasticsearch/Endpoints/Ccr/PauseFollow.php b/src/Elasticsearch/Endpoints/Ccr/PauseFollow.php index eef7e252f..1954b8da6 100644 --- a/src/Elasticsearch/Endpoints/Ccr/PauseFollow.php +++ b/src/Elasticsearch/Endpoints/Ccr/PauseFollow.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ccr; diff --git a/src/Elasticsearch/Endpoints/Ccr/PutAutoFollowPattern.php b/src/Elasticsearch/Endpoints/Ccr/PutAutoFollowPattern.php index fe58fe6ac..6bde90512 100644 --- a/src/Elasticsearch/Endpoints/Ccr/PutAutoFollowPattern.php +++ b/src/Elasticsearch/Endpoints/Ccr/PutAutoFollowPattern.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ccr; diff --git a/src/Elasticsearch/Endpoints/Ccr/ResumeAutoFollowPattern.php b/src/Elasticsearch/Endpoints/Ccr/ResumeAutoFollowPattern.php index bab9058b0..653dad3d5 100644 --- a/src/Elasticsearch/Endpoints/Ccr/ResumeAutoFollowPattern.php +++ b/src/Elasticsearch/Endpoints/Ccr/ResumeAutoFollowPattern.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ccr; diff --git a/src/Elasticsearch/Endpoints/Ccr/ResumeFollow.php b/src/Elasticsearch/Endpoints/Ccr/ResumeFollow.php index 5f850288c..61931c913 100644 --- a/src/Elasticsearch/Endpoints/Ccr/ResumeFollow.php +++ b/src/Elasticsearch/Endpoints/Ccr/ResumeFollow.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ccr; diff --git a/src/Elasticsearch/Endpoints/Ccr/Stats.php b/src/Elasticsearch/Endpoints/Ccr/Stats.php index 996f5c6f2..107000f2d 100644 --- a/src/Elasticsearch/Endpoints/Ccr/Stats.php +++ b/src/Elasticsearch/Endpoints/Ccr/Stats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ccr; diff --git a/src/Elasticsearch/Endpoints/Ccr/Unfollow.php b/src/Elasticsearch/Endpoints/Ccr/Unfollow.php index 4a3f7862a..8b9d82150 100644 --- a/src/Elasticsearch/Endpoints/Ccr/Unfollow.php +++ b/src/Elasticsearch/Endpoints/Ccr/Unfollow.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ccr; diff --git a/src/Elasticsearch/Endpoints/ClearScroll.php b/src/Elasticsearch/Endpoints/ClearScroll.php index ef60e94ef..ebb928cb0 100644 --- a/src/Elasticsearch/Endpoints/ClearScroll.php +++ b/src/Elasticsearch/Endpoints/ClearScroll.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Cluster/AllocationExplain.php b/src/Elasticsearch/Endpoints/Cluster/AllocationExplain.php index e802e0469..d9b9811d1 100644 --- a/src/Elasticsearch/Endpoints/Cluster/AllocationExplain.php +++ b/src/Elasticsearch/Endpoints/Cluster/AllocationExplain.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cluster; diff --git a/src/Elasticsearch/Endpoints/Cluster/DeleteComponentTemplate.php b/src/Elasticsearch/Endpoints/Cluster/DeleteComponentTemplate.php index 654d869ac..57ad01774 100644 --- a/src/Elasticsearch/Endpoints/Cluster/DeleteComponentTemplate.php +++ b/src/Elasticsearch/Endpoints/Cluster/DeleteComponentTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cluster; diff --git a/src/Elasticsearch/Endpoints/Cluster/DeleteVotingConfigExclusions.php b/src/Elasticsearch/Endpoints/Cluster/DeleteVotingConfigExclusions.php index 5d0738e7c..5a6809b88 100644 --- a/src/Elasticsearch/Endpoints/Cluster/DeleteVotingConfigExclusions.php +++ b/src/Elasticsearch/Endpoints/Cluster/DeleteVotingConfigExclusions.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cluster; diff --git a/src/Elasticsearch/Endpoints/Cluster/ExistsComponentTemplate.php b/src/Elasticsearch/Endpoints/Cluster/ExistsComponentTemplate.php index 32730df3f..a4e32791f 100644 --- a/src/Elasticsearch/Endpoints/Cluster/ExistsComponentTemplate.php +++ b/src/Elasticsearch/Endpoints/Cluster/ExistsComponentTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cluster; diff --git a/src/Elasticsearch/Endpoints/Cluster/GetComponentTemplate.php b/src/Elasticsearch/Endpoints/Cluster/GetComponentTemplate.php index 55a7beea6..f6f867e96 100644 --- a/src/Elasticsearch/Endpoints/Cluster/GetComponentTemplate.php +++ b/src/Elasticsearch/Endpoints/Cluster/GetComponentTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cluster; diff --git a/src/Elasticsearch/Endpoints/Cluster/GetSettings.php b/src/Elasticsearch/Endpoints/Cluster/GetSettings.php index 6ff665e8f..685e60ef3 100644 --- a/src/Elasticsearch/Endpoints/Cluster/GetSettings.php +++ b/src/Elasticsearch/Endpoints/Cluster/GetSettings.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cluster; diff --git a/src/Elasticsearch/Endpoints/Cluster/Health.php b/src/Elasticsearch/Endpoints/Cluster/Health.php index 2f074fa78..f5ab9141a 100644 --- a/src/Elasticsearch/Endpoints/Cluster/Health.php +++ b/src/Elasticsearch/Endpoints/Cluster/Health.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cluster; diff --git a/src/Elasticsearch/Endpoints/Cluster/PendingTasks.php b/src/Elasticsearch/Endpoints/Cluster/PendingTasks.php index 7b73107b5..022cb1c2e 100644 --- a/src/Elasticsearch/Endpoints/Cluster/PendingTasks.php +++ b/src/Elasticsearch/Endpoints/Cluster/PendingTasks.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cluster; diff --git a/src/Elasticsearch/Endpoints/Cluster/PostVotingConfigExclusions.php b/src/Elasticsearch/Endpoints/Cluster/PostVotingConfigExclusions.php index 64bd6ea8d..f40def943 100644 --- a/src/Elasticsearch/Endpoints/Cluster/PostVotingConfigExclusions.php +++ b/src/Elasticsearch/Endpoints/Cluster/PostVotingConfigExclusions.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cluster; diff --git a/src/Elasticsearch/Endpoints/Cluster/PutComponentTemplate.php b/src/Elasticsearch/Endpoints/Cluster/PutComponentTemplate.php index 152c4a306..53e7a9155 100644 --- a/src/Elasticsearch/Endpoints/Cluster/PutComponentTemplate.php +++ b/src/Elasticsearch/Endpoints/Cluster/PutComponentTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cluster; diff --git a/src/Elasticsearch/Endpoints/Cluster/PutSettings.php b/src/Elasticsearch/Endpoints/Cluster/PutSettings.php index 47b21b57f..6854faef7 100644 --- a/src/Elasticsearch/Endpoints/Cluster/PutSettings.php +++ b/src/Elasticsearch/Endpoints/Cluster/PutSettings.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cluster; diff --git a/src/Elasticsearch/Endpoints/Cluster/RemoteInfo.php b/src/Elasticsearch/Endpoints/Cluster/RemoteInfo.php index 90b160df3..5a849553a 100644 --- a/src/Elasticsearch/Endpoints/Cluster/RemoteInfo.php +++ b/src/Elasticsearch/Endpoints/Cluster/RemoteInfo.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cluster; diff --git a/src/Elasticsearch/Endpoints/Cluster/Reroute.php b/src/Elasticsearch/Endpoints/Cluster/Reroute.php index c8bed7b0d..14c50e2af 100644 --- a/src/Elasticsearch/Endpoints/Cluster/Reroute.php +++ b/src/Elasticsearch/Endpoints/Cluster/Reroute.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cluster; diff --git a/src/Elasticsearch/Endpoints/Cluster/State.php b/src/Elasticsearch/Endpoints/Cluster/State.php index b9510ef7c..108df0e81 100644 --- a/src/Elasticsearch/Endpoints/Cluster/State.php +++ b/src/Elasticsearch/Endpoints/Cluster/State.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cluster; diff --git a/src/Elasticsearch/Endpoints/Cluster/Stats.php b/src/Elasticsearch/Endpoints/Cluster/Stats.php index f364d26eb..a0cf11942 100644 --- a/src/Elasticsearch/Endpoints/Cluster/Stats.php +++ b/src/Elasticsearch/Endpoints/Cluster/Stats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Cluster; diff --git a/src/Elasticsearch/Endpoints/Count.php b/src/Elasticsearch/Endpoints/Count.php index a8f3ec1c3..66a08d9b3 100644 --- a/src/Elasticsearch/Endpoints/Count.php +++ b/src/Elasticsearch/Endpoints/Count.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Create.php b/src/Elasticsearch/Endpoints/Create.php index a8a06b8a7..648b564f9 100644 --- a/src/Elasticsearch/Endpoints/Create.php +++ b/src/Elasticsearch/Endpoints/Create.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/DanglingIndices/DeleteDanglingIndex.php b/src/Elasticsearch/Endpoints/DanglingIndices/DeleteDanglingIndex.php index f617de0a6..f77e2cff6 100644 --- a/src/Elasticsearch/Endpoints/DanglingIndices/DeleteDanglingIndex.php +++ b/src/Elasticsearch/Endpoints/DanglingIndices/DeleteDanglingIndex.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\DanglingIndices; diff --git a/src/Elasticsearch/Endpoints/DanglingIndices/ImportDanglingIndex.php b/src/Elasticsearch/Endpoints/DanglingIndices/ImportDanglingIndex.php index dc0753af6..961b3a00b 100644 --- a/src/Elasticsearch/Endpoints/DanglingIndices/ImportDanglingIndex.php +++ b/src/Elasticsearch/Endpoints/DanglingIndices/ImportDanglingIndex.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\DanglingIndices; diff --git a/src/Elasticsearch/Endpoints/DanglingIndices/ListDanglingIndices.php b/src/Elasticsearch/Endpoints/DanglingIndices/ListDanglingIndices.php index adf346554..7aa7a7fae 100644 --- a/src/Elasticsearch/Endpoints/DanglingIndices/ListDanglingIndices.php +++ b/src/Elasticsearch/Endpoints/DanglingIndices/ListDanglingIndices.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\DanglingIndices; diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/DeleteTransform.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/DeleteTransform.php index baa908baa..ceed8dbc9 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/DeleteTransform.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/DeleteTransform.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\DataFrameTransformDeprecated; diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransform.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransform.php index 4cc1d5784..78a7ba562 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransform.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransform.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\DataFrameTransformDeprecated; diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransformStats.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransformStats.php index 50a599cc8..b7dc431ab 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransformStats.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/GetTransformStats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\DataFrameTransformDeprecated; diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PreviewTransform.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PreviewTransform.php index 198aa211e..a185de882 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PreviewTransform.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PreviewTransform.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\DataFrameTransformDeprecated; diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PutTransform.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PutTransform.php index efe09f928..9f33e82c5 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PutTransform.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/PutTransform.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\DataFrameTransformDeprecated; diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StartTransform.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StartTransform.php index 34f453a1e..2ff5b59be 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StartTransform.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StartTransform.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\DataFrameTransformDeprecated; diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StopTransform.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StopTransform.php index bec110831..62f43cb2c 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StopTransform.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/StopTransform.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\DataFrameTransformDeprecated; diff --git a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/UpdateTransform.php b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/UpdateTransform.php index d54ae1e9f..a44df1e1d 100644 --- a/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/UpdateTransform.php +++ b/src/Elasticsearch/Endpoints/DataFrameTransformDeprecated/UpdateTransform.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\DataFrameTransformDeprecated; diff --git a/src/Elasticsearch/Endpoints/Delete.php b/src/Elasticsearch/Endpoints/Delete.php index 9f331909b..8f85df358 100644 --- a/src/Elasticsearch/Endpoints/Delete.php +++ b/src/Elasticsearch/Endpoints/Delete.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/DeleteByQuery.php b/src/Elasticsearch/Endpoints/DeleteByQuery.php index a5995f39c..acb692db9 100644 --- a/src/Elasticsearch/Endpoints/DeleteByQuery.php +++ b/src/Elasticsearch/Endpoints/DeleteByQuery.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/DeleteByQueryRethrottle.php b/src/Elasticsearch/Endpoints/DeleteByQueryRethrottle.php index bc3efb6f7..2d7f8ff29 100644 --- a/src/Elasticsearch/Endpoints/DeleteByQueryRethrottle.php +++ b/src/Elasticsearch/Endpoints/DeleteByQueryRethrottle.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/DeleteScript.php b/src/Elasticsearch/Endpoints/DeleteScript.php index 7108c3497..98c4faed6 100644 --- a/src/Elasticsearch/Endpoints/DeleteScript.php +++ b/src/Elasticsearch/Endpoints/DeleteScript.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Enrich/DeletePolicy.php b/src/Elasticsearch/Endpoints/Enrich/DeletePolicy.php index 9b07d0c2d..32fe01ba7 100644 --- a/src/Elasticsearch/Endpoints/Enrich/DeletePolicy.php +++ b/src/Elasticsearch/Endpoints/Enrich/DeletePolicy.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Enrich; diff --git a/src/Elasticsearch/Endpoints/Enrich/ExecutePolicy.php b/src/Elasticsearch/Endpoints/Enrich/ExecutePolicy.php index 78b75238c..8f6705474 100644 --- a/src/Elasticsearch/Endpoints/Enrich/ExecutePolicy.php +++ b/src/Elasticsearch/Endpoints/Enrich/ExecutePolicy.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Enrich; diff --git a/src/Elasticsearch/Endpoints/Enrich/GetPolicy.php b/src/Elasticsearch/Endpoints/Enrich/GetPolicy.php index 62c35c28f..678cbe797 100644 --- a/src/Elasticsearch/Endpoints/Enrich/GetPolicy.php +++ b/src/Elasticsearch/Endpoints/Enrich/GetPolicy.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Enrich; diff --git a/src/Elasticsearch/Endpoints/Enrich/PutPolicy.php b/src/Elasticsearch/Endpoints/Enrich/PutPolicy.php index 6f1f2d3ea..9dc1166fa 100644 --- a/src/Elasticsearch/Endpoints/Enrich/PutPolicy.php +++ b/src/Elasticsearch/Endpoints/Enrich/PutPolicy.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Enrich; diff --git a/src/Elasticsearch/Endpoints/Enrich/Stats.php b/src/Elasticsearch/Endpoints/Enrich/Stats.php index 2b41aa8e9..f2455ab42 100644 --- a/src/Elasticsearch/Endpoints/Enrich/Stats.php +++ b/src/Elasticsearch/Endpoints/Enrich/Stats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Enrich; diff --git a/src/Elasticsearch/Endpoints/Eql/Delete.php b/src/Elasticsearch/Endpoints/Eql/Delete.php index 76d28ad69..e10458709 100644 --- a/src/Elasticsearch/Endpoints/Eql/Delete.php +++ b/src/Elasticsearch/Endpoints/Eql/Delete.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Eql; diff --git a/src/Elasticsearch/Endpoints/Eql/Get.php b/src/Elasticsearch/Endpoints/Eql/Get.php index 6c4df65f1..812b1bbe4 100644 --- a/src/Elasticsearch/Endpoints/Eql/Get.php +++ b/src/Elasticsearch/Endpoints/Eql/Get.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Eql; diff --git a/src/Elasticsearch/Endpoints/Eql/Search.php b/src/Elasticsearch/Endpoints/Eql/Search.php index 5e9019150..d4c5373e6 100644 --- a/src/Elasticsearch/Endpoints/Eql/Search.php +++ b/src/Elasticsearch/Endpoints/Eql/Search.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Eql; diff --git a/src/Elasticsearch/Endpoints/Exists.php b/src/Elasticsearch/Endpoints/Exists.php index 689e3e90f..8839b8d77 100644 --- a/src/Elasticsearch/Endpoints/Exists.php +++ b/src/Elasticsearch/Endpoints/Exists.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/ExistsSource.php b/src/Elasticsearch/Endpoints/ExistsSource.php index 413612126..5dec3cdab 100644 --- a/src/Elasticsearch/Endpoints/ExistsSource.php +++ b/src/Elasticsearch/Endpoints/ExistsSource.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Explain.php b/src/Elasticsearch/Endpoints/Explain.php index 478395eda..cc309234e 100644 --- a/src/Elasticsearch/Endpoints/Explain.php +++ b/src/Elasticsearch/Endpoints/Explain.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/FieldCaps.php b/src/Elasticsearch/Endpoints/FieldCaps.php index bfca4499b..c91f124d9 100644 --- a/src/Elasticsearch/Endpoints/FieldCaps.php +++ b/src/Elasticsearch/Endpoints/FieldCaps.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Get.php b/src/Elasticsearch/Endpoints/Get.php index f2af10e77..24aa7407c 100644 --- a/src/Elasticsearch/Endpoints/Get.php +++ b/src/Elasticsearch/Endpoints/Get.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/GetScript.php b/src/Elasticsearch/Endpoints/GetScript.php index 0500dd360..d469fe8bf 100644 --- a/src/Elasticsearch/Endpoints/GetScript.php +++ b/src/Elasticsearch/Endpoints/GetScript.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/GetScriptContext.php b/src/Elasticsearch/Endpoints/GetScriptContext.php index 365c6185c..4fd2b4d49 100644 --- a/src/Elasticsearch/Endpoints/GetScriptContext.php +++ b/src/Elasticsearch/Endpoints/GetScriptContext.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/GetScriptLanguages.php b/src/Elasticsearch/Endpoints/GetScriptLanguages.php index 6011d8f0f..7b652ac10 100644 --- a/src/Elasticsearch/Endpoints/GetScriptLanguages.php +++ b/src/Elasticsearch/Endpoints/GetScriptLanguages.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/GetSource.php b/src/Elasticsearch/Endpoints/GetSource.php index 751f9717a..26083649c 100644 --- a/src/Elasticsearch/Endpoints/GetSource.php +++ b/src/Elasticsearch/Endpoints/GetSource.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Graph/Explore.php b/src/Elasticsearch/Endpoints/Graph/Explore.php index c18a2fe7b..a793fa1d6 100644 --- a/src/Elasticsearch/Endpoints/Graph/Explore.php +++ b/src/Elasticsearch/Endpoints/Graph/Explore.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Graph; diff --git a/src/Elasticsearch/Endpoints/Ilm/DeleteLifecycle.php b/src/Elasticsearch/Endpoints/Ilm/DeleteLifecycle.php index 37f2a7c9b..a7bd02b17 100644 --- a/src/Elasticsearch/Endpoints/Ilm/DeleteLifecycle.php +++ b/src/Elasticsearch/Endpoints/Ilm/DeleteLifecycle.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ilm; diff --git a/src/Elasticsearch/Endpoints/Ilm/ExplainLifecycle.php b/src/Elasticsearch/Endpoints/Ilm/ExplainLifecycle.php index 1e6391a82..3a0224ff5 100644 --- a/src/Elasticsearch/Endpoints/Ilm/ExplainLifecycle.php +++ b/src/Elasticsearch/Endpoints/Ilm/ExplainLifecycle.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ilm; diff --git a/src/Elasticsearch/Endpoints/Ilm/GetLifecycle.php b/src/Elasticsearch/Endpoints/Ilm/GetLifecycle.php index fa567a813..7bf9dd234 100644 --- a/src/Elasticsearch/Endpoints/Ilm/GetLifecycle.php +++ b/src/Elasticsearch/Endpoints/Ilm/GetLifecycle.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ilm; diff --git a/src/Elasticsearch/Endpoints/Ilm/GetStatus.php b/src/Elasticsearch/Endpoints/Ilm/GetStatus.php index 4fc7258ec..b7db52ebd 100644 --- a/src/Elasticsearch/Endpoints/Ilm/GetStatus.php +++ b/src/Elasticsearch/Endpoints/Ilm/GetStatus.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ilm; diff --git a/src/Elasticsearch/Endpoints/Ilm/MoveToStep.php b/src/Elasticsearch/Endpoints/Ilm/MoveToStep.php index b24422b94..d2c1b0b66 100644 --- a/src/Elasticsearch/Endpoints/Ilm/MoveToStep.php +++ b/src/Elasticsearch/Endpoints/Ilm/MoveToStep.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ilm; diff --git a/src/Elasticsearch/Endpoints/Ilm/PutLifecycle.php b/src/Elasticsearch/Endpoints/Ilm/PutLifecycle.php index 2b231e179..40816ee07 100644 --- a/src/Elasticsearch/Endpoints/Ilm/PutLifecycle.php +++ b/src/Elasticsearch/Endpoints/Ilm/PutLifecycle.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ilm; diff --git a/src/Elasticsearch/Endpoints/Ilm/RemovePolicy.php b/src/Elasticsearch/Endpoints/Ilm/RemovePolicy.php index 524452c27..8718b6e62 100644 --- a/src/Elasticsearch/Endpoints/Ilm/RemovePolicy.php +++ b/src/Elasticsearch/Endpoints/Ilm/RemovePolicy.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ilm; diff --git a/src/Elasticsearch/Endpoints/Ilm/Retry.php b/src/Elasticsearch/Endpoints/Ilm/Retry.php index 12e0c79a1..fcb1223a7 100644 --- a/src/Elasticsearch/Endpoints/Ilm/Retry.php +++ b/src/Elasticsearch/Endpoints/Ilm/Retry.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ilm; diff --git a/src/Elasticsearch/Endpoints/Ilm/Start.php b/src/Elasticsearch/Endpoints/Ilm/Start.php index 275470ce5..eadc2904e 100644 --- a/src/Elasticsearch/Endpoints/Ilm/Start.php +++ b/src/Elasticsearch/Endpoints/Ilm/Start.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ilm; diff --git a/src/Elasticsearch/Endpoints/Ilm/Stop.php b/src/Elasticsearch/Endpoints/Ilm/Stop.php index a4ea572ff..141a4d41d 100644 --- a/src/Elasticsearch/Endpoints/Ilm/Stop.php +++ b/src/Elasticsearch/Endpoints/Ilm/Stop.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ilm; diff --git a/src/Elasticsearch/Endpoints/Index.php b/src/Elasticsearch/Endpoints/Index.php index 28f1a3986..a281b1c77 100644 --- a/src/Elasticsearch/Endpoints/Index.php +++ b/src/Elasticsearch/Endpoints/Index.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Indices/AddBlock.php b/src/Elasticsearch/Endpoints/Indices/AddBlock.php index 1864ab085..36d7fe4ce 100644 --- a/src/Elasticsearch/Endpoints/Indices/AddBlock.php +++ b/src/Elasticsearch/Endpoints/Indices/AddBlock.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Analyze.php b/src/Elasticsearch/Endpoints/Indices/Analyze.php index bc365fd47..35e986589 100644 --- a/src/Elasticsearch/Endpoints/Indices/Analyze.php +++ b/src/Elasticsearch/Endpoints/Indices/Analyze.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/ClearCache.php b/src/Elasticsearch/Endpoints/Indices/ClearCache.php index 335ea1687..293925b5d 100644 --- a/src/Elasticsearch/Endpoints/Indices/ClearCache.php +++ b/src/Elasticsearch/Endpoints/Indices/ClearCache.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/CloneIndices.php b/src/Elasticsearch/Endpoints/Indices/CloneIndices.php index 4c35542d8..0ec197e54 100644 --- a/src/Elasticsearch/Endpoints/Indices/CloneIndices.php +++ b/src/Elasticsearch/Endpoints/Indices/CloneIndices.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Close.php b/src/Elasticsearch/Endpoints/Indices/Close.php index fafa88fb4..c86b05365 100644 --- a/src/Elasticsearch/Endpoints/Indices/Close.php +++ b/src/Elasticsearch/Endpoints/Indices/Close.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Create.php b/src/Elasticsearch/Endpoints/Indices/Create.php index d13b01fb8..99885ddc5 100644 --- a/src/Elasticsearch/Endpoints/Indices/Create.php +++ b/src/Elasticsearch/Endpoints/Indices/Create.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/CreateDataStream.php b/src/Elasticsearch/Endpoints/Indices/CreateDataStream.php index 6b5e3b5a2..79c32d278 100644 --- a/src/Elasticsearch/Endpoints/Indices/CreateDataStream.php +++ b/src/Elasticsearch/Endpoints/Indices/CreateDataStream.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; @@ -51,16 +50,6 @@ public function getMethod(): string return 'PUT'; } - public function setBody($body): CreateDataStream - { - if (isset($body) !== true) { - return $this; - } - $this->body = $body; - - return $this; - } - public function setName($name): CreateDataStream { if (isset($name) !== true) { diff --git a/src/Elasticsearch/Endpoints/Indices/DataStreamsStats.php b/src/Elasticsearch/Endpoints/Indices/DataStreamsStats.php index 01f826f6d..2215a1d15 100644 --- a/src/Elasticsearch/Endpoints/Indices/DataStreamsStats.php +++ b/src/Elasticsearch/Endpoints/Indices/DataStreamsStats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; @@ -40,10 +39,7 @@ public function getURI(): string public function getParamWhitelist(): array { - return [ - 'expand_wildcards', - 'forbid_closed_indices' - ]; + return []; } public function getMethod(): string diff --git a/src/Elasticsearch/Endpoints/Indices/Delete.php b/src/Elasticsearch/Endpoints/Indices/Delete.php index 997f4fbc2..f969362e2 100644 --- a/src/Elasticsearch/Endpoints/Indices/Delete.php +++ b/src/Elasticsearch/Endpoints/Indices/Delete.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/DeleteAlias.php b/src/Elasticsearch/Endpoints/Indices/DeleteAlias.php index a48005df4..081490829 100644 --- a/src/Elasticsearch/Endpoints/Indices/DeleteAlias.php +++ b/src/Elasticsearch/Endpoints/Indices/DeleteAlias.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/DeleteDataStream.php b/src/Elasticsearch/Endpoints/Indices/DeleteDataStream.php index 476e5172b..79cd7dcb6 100644 --- a/src/Elasticsearch/Endpoints/Indices/DeleteDataStream.php +++ b/src/Elasticsearch/Endpoints/Indices/DeleteDataStream.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/DeleteIndexTemplate.php b/src/Elasticsearch/Endpoints/Indices/DeleteIndexTemplate.php index f36544643..2d1414339 100644 --- a/src/Elasticsearch/Endpoints/Indices/DeleteIndexTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/DeleteIndexTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/DeleteTemplate.php b/src/Elasticsearch/Endpoints/Indices/DeleteTemplate.php index b4507517a..239076607 100644 --- a/src/Elasticsearch/Endpoints/Indices/DeleteTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/DeleteTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Exists.php b/src/Elasticsearch/Endpoints/Indices/Exists.php index ac9f45980..c99f3d25d 100644 --- a/src/Elasticsearch/Endpoints/Indices/Exists.php +++ b/src/Elasticsearch/Endpoints/Indices/Exists.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/ExistsAlias.php b/src/Elasticsearch/Endpoints/Indices/ExistsAlias.php index 18d154ff7..299edf4d0 100644 --- a/src/Elasticsearch/Endpoints/Indices/ExistsAlias.php +++ b/src/Elasticsearch/Endpoints/Indices/ExistsAlias.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/ExistsIndexTemplate.php b/src/Elasticsearch/Endpoints/Indices/ExistsIndexTemplate.php index 821390e7d..1220c9613 100644 --- a/src/Elasticsearch/Endpoints/Indices/ExistsIndexTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/ExistsIndexTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/ExistsTemplate.php b/src/Elasticsearch/Endpoints/Indices/ExistsTemplate.php index d7b4bb5e0..1683bc695 100644 --- a/src/Elasticsearch/Endpoints/Indices/ExistsTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/ExistsTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/ExistsType.php b/src/Elasticsearch/Endpoints/Indices/ExistsType.php index 05524bd54..e4a07c5ee 100644 --- a/src/Elasticsearch/Endpoints/Indices/ExistsType.php +++ b/src/Elasticsearch/Endpoints/Indices/ExistsType.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Flush.php b/src/Elasticsearch/Endpoints/Indices/Flush.php index e06874b86..252fc7474 100644 --- a/src/Elasticsearch/Endpoints/Indices/Flush.php +++ b/src/Elasticsearch/Endpoints/Indices/Flush.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/FlushSynced.php b/src/Elasticsearch/Endpoints/Indices/FlushSynced.php index 11bb0f7de..25825925b 100644 --- a/src/Elasticsearch/Endpoints/Indices/FlushSynced.php +++ b/src/Elasticsearch/Endpoints/Indices/FlushSynced.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/ForceMerge.php b/src/Elasticsearch/Endpoints/Indices/ForceMerge.php index c439c9af2..44a2267e7 100644 --- a/src/Elasticsearch/Endpoints/Indices/ForceMerge.php +++ b/src/Elasticsearch/Endpoints/Indices/ForceMerge.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Freeze.php b/src/Elasticsearch/Endpoints/Indices/Freeze.php index b22bcd919..d10e63d74 100644 --- a/src/Elasticsearch/Endpoints/Indices/Freeze.php +++ b/src/Elasticsearch/Endpoints/Indices/Freeze.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Get.php b/src/Elasticsearch/Endpoints/Indices/Get.php index a9ac03a16..a70edeac5 100644 --- a/src/Elasticsearch/Endpoints/Indices/Get.php +++ b/src/Elasticsearch/Endpoints/Indices/Get.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/GetAlias.php b/src/Elasticsearch/Endpoints/Indices/GetAlias.php index f54414e73..9372aecc9 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetAlias.php +++ b/src/Elasticsearch/Endpoints/Indices/GetAlias.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/GetDataStream.php b/src/Elasticsearch/Endpoints/Indices/GetDataStream.php index 96c0aace5..c4d991a1b 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetDataStream.php +++ b/src/Elasticsearch/Endpoints/Indices/GetDataStream.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/GetFieldMapping.php b/src/Elasticsearch/Endpoints/Indices/GetFieldMapping.php index fa44a1541..123b9f72c 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetFieldMapping.php +++ b/src/Elasticsearch/Endpoints/Indices/GetFieldMapping.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/GetIndexTemplate.php b/src/Elasticsearch/Endpoints/Indices/GetIndexTemplate.php index c80ae0cdb..19ce5138d 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetIndexTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/GetIndexTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/GetMapping.php b/src/Elasticsearch/Endpoints/Indices/GetMapping.php index 26597ae72..1ff30d41a 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetMapping.php +++ b/src/Elasticsearch/Endpoints/Indices/GetMapping.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/GetSettings.php b/src/Elasticsearch/Endpoints/Indices/GetSettings.php index 9ba2c3a3f..9883e40f5 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetSettings.php +++ b/src/Elasticsearch/Endpoints/Indices/GetSettings.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/GetTemplate.php b/src/Elasticsearch/Endpoints/Indices/GetTemplate.php index 41c5983c1..a07a0246d 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/GetTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/GetUpgrade.php b/src/Elasticsearch/Endpoints/Indices/GetUpgrade.php index d35d17ffd..423cfc62d 100644 --- a/src/Elasticsearch/Endpoints/Indices/GetUpgrade.php +++ b/src/Elasticsearch/Endpoints/Indices/GetUpgrade.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Open.php b/src/Elasticsearch/Endpoints/Indices/Open.php index af39f9ff8..a04bca5f9 100644 --- a/src/Elasticsearch/Endpoints/Indices/Open.php +++ b/src/Elasticsearch/Endpoints/Indices/Open.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/PutAlias.php b/src/Elasticsearch/Endpoints/Indices/PutAlias.php index 3f0a6455f..6c4dd21f3 100644 --- a/src/Elasticsearch/Endpoints/Indices/PutAlias.php +++ b/src/Elasticsearch/Endpoints/Indices/PutAlias.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/PutIndexTemplate.php b/src/Elasticsearch/Endpoints/Indices/PutIndexTemplate.php index 67067abe6..35f9477e3 100644 --- a/src/Elasticsearch/Endpoints/Indices/PutIndexTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/PutIndexTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/PutMapping.php b/src/Elasticsearch/Endpoints/Indices/PutMapping.php index 05782db08..539e033f1 100644 --- a/src/Elasticsearch/Endpoints/Indices/PutMapping.php +++ b/src/Elasticsearch/Endpoints/Indices/PutMapping.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/PutSettings.php b/src/Elasticsearch/Endpoints/Indices/PutSettings.php index 14697ed1d..7385e6774 100644 --- a/src/Elasticsearch/Endpoints/Indices/PutSettings.php +++ b/src/Elasticsearch/Endpoints/Indices/PutSettings.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/PutTemplate.php b/src/Elasticsearch/Endpoints/Indices/PutTemplate.php index d8b14dfde..8216295ae 100644 --- a/src/Elasticsearch/Endpoints/Indices/PutTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/PutTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Recovery.php b/src/Elasticsearch/Endpoints/Indices/Recovery.php index a26e74a05..fd1a93809 100644 --- a/src/Elasticsearch/Endpoints/Indices/Recovery.php +++ b/src/Elasticsearch/Endpoints/Indices/Recovery.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Refresh.php b/src/Elasticsearch/Endpoints/Indices/Refresh.php index ac1a4ad9e..4d8f719b9 100644 --- a/src/Elasticsearch/Endpoints/Indices/Refresh.php +++ b/src/Elasticsearch/Endpoints/Indices/Refresh.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/ReloadSearchAnalyzers.php b/src/Elasticsearch/Endpoints/Indices/ReloadSearchAnalyzers.php index 38b797b19..48dc844cf 100644 --- a/src/Elasticsearch/Endpoints/Indices/ReloadSearchAnalyzers.php +++ b/src/Elasticsearch/Endpoints/Indices/ReloadSearchAnalyzers.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/ResolveIndex.php b/src/Elasticsearch/Endpoints/Indices/ResolveIndex.php index 6e8a6121d..cac99c96b 100644 --- a/src/Elasticsearch/Endpoints/Indices/ResolveIndex.php +++ b/src/Elasticsearch/Endpoints/Indices/ResolveIndex.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Rollover.php b/src/Elasticsearch/Endpoints/Indices/Rollover.php index 6f3af6463..025f476b1 100644 --- a/src/Elasticsearch/Endpoints/Indices/Rollover.php +++ b/src/Elasticsearch/Endpoints/Indices/Rollover.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Segments.php b/src/Elasticsearch/Endpoints/Indices/Segments.php index 833dd6461..a861c8d28 100644 --- a/src/Elasticsearch/Endpoints/Indices/Segments.php +++ b/src/Elasticsearch/Endpoints/Indices/Segments.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/ShardStores.php b/src/Elasticsearch/Endpoints/Indices/ShardStores.php index 3c425953d..2b4263006 100644 --- a/src/Elasticsearch/Endpoints/Indices/ShardStores.php +++ b/src/Elasticsearch/Endpoints/Indices/ShardStores.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Shrink.php b/src/Elasticsearch/Endpoints/Indices/Shrink.php index ad4e1f21d..bd6e7baf2 100644 --- a/src/Elasticsearch/Endpoints/Indices/Shrink.php +++ b/src/Elasticsearch/Endpoints/Indices/Shrink.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/SimulateIndexTemplate.php b/src/Elasticsearch/Endpoints/Indices/SimulateIndexTemplate.php index bc5180570..fa7f82a3d 100644 --- a/src/Elasticsearch/Endpoints/Indices/SimulateIndexTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/SimulateIndexTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/SimulateTemplate.php b/src/Elasticsearch/Endpoints/Indices/SimulateTemplate.php index 391b0f044..8685ed140 100644 --- a/src/Elasticsearch/Endpoints/Indices/SimulateTemplate.php +++ b/src/Elasticsearch/Endpoints/Indices/SimulateTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Split.php b/src/Elasticsearch/Endpoints/Indices/Split.php index ebe8d32f3..c3f2cfa5a 100644 --- a/src/Elasticsearch/Endpoints/Indices/Split.php +++ b/src/Elasticsearch/Endpoints/Indices/Split.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Stats.php b/src/Elasticsearch/Endpoints/Indices/Stats.php index 23dc9a9c6..91366eb1b 100644 --- a/src/Elasticsearch/Endpoints/Indices/Stats.php +++ b/src/Elasticsearch/Endpoints/Indices/Stats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Unfreeze.php b/src/Elasticsearch/Endpoints/Indices/Unfreeze.php index ccac9ced6..24c5cfe9a 100644 --- a/src/Elasticsearch/Endpoints/Indices/Unfreeze.php +++ b/src/Elasticsearch/Endpoints/Indices/Unfreeze.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/UpdateAliases.php b/src/Elasticsearch/Endpoints/Indices/UpdateAliases.php index 823ade9e3..e942b740d 100644 --- a/src/Elasticsearch/Endpoints/Indices/UpdateAliases.php +++ b/src/Elasticsearch/Endpoints/Indices/UpdateAliases.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/Upgrade.php b/src/Elasticsearch/Endpoints/Indices/Upgrade.php index 18cb417ff..7e6b8beda 100644 --- a/src/Elasticsearch/Endpoints/Indices/Upgrade.php +++ b/src/Elasticsearch/Endpoints/Indices/Upgrade.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Indices/ValidateQuery.php b/src/Elasticsearch/Endpoints/Indices/ValidateQuery.php index 4139880cf..9c017074a 100644 --- a/src/Elasticsearch/Endpoints/Indices/ValidateQuery.php +++ b/src/Elasticsearch/Endpoints/Indices/ValidateQuery.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Indices; diff --git a/src/Elasticsearch/Endpoints/Info.php b/src/Elasticsearch/Endpoints/Info.php index 7288985a3..c76a8c53c 100644 --- a/src/Elasticsearch/Endpoints/Info.php +++ b/src/Elasticsearch/Endpoints/Info.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Ingest/DeletePipeline.php b/src/Elasticsearch/Endpoints/Ingest/DeletePipeline.php index 8e3384ffd..d74320180 100644 --- a/src/Elasticsearch/Endpoints/Ingest/DeletePipeline.php +++ b/src/Elasticsearch/Endpoints/Ingest/DeletePipeline.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ingest; diff --git a/src/Elasticsearch/Endpoints/Ingest/GetPipeline.php b/src/Elasticsearch/Endpoints/Ingest/GetPipeline.php index 67681780d..2dd5c3649 100644 --- a/src/Elasticsearch/Endpoints/Ingest/GetPipeline.php +++ b/src/Elasticsearch/Endpoints/Ingest/GetPipeline.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ingest; diff --git a/src/Elasticsearch/Endpoints/Ingest/ProcessorGrok.php b/src/Elasticsearch/Endpoints/Ingest/ProcessorGrok.php index 4d29e8c1a..9001999eb 100644 --- a/src/Elasticsearch/Endpoints/Ingest/ProcessorGrok.php +++ b/src/Elasticsearch/Endpoints/Ingest/ProcessorGrok.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ingest; diff --git a/src/Elasticsearch/Endpoints/Ingest/PutPipeline.php b/src/Elasticsearch/Endpoints/Ingest/PutPipeline.php index 450fe9a0c..50b8783d8 100644 --- a/src/Elasticsearch/Endpoints/Ingest/PutPipeline.php +++ b/src/Elasticsearch/Endpoints/Ingest/PutPipeline.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ingest; diff --git a/src/Elasticsearch/Endpoints/Ingest/Simulate.php b/src/Elasticsearch/Endpoints/Ingest/Simulate.php index 76473f2bb..8d4910a70 100644 --- a/src/Elasticsearch/Endpoints/Ingest/Simulate.php +++ b/src/Elasticsearch/Endpoints/Ingest/Simulate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ingest; diff --git a/src/Elasticsearch/Endpoints/License/Delete.php b/src/Elasticsearch/Endpoints/License/Delete.php index 017dafd20..04289fd49 100644 --- a/src/Elasticsearch/Endpoints/License/Delete.php +++ b/src/Elasticsearch/Endpoints/License/Delete.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\License; diff --git a/src/Elasticsearch/Endpoints/License/Get.php b/src/Elasticsearch/Endpoints/License/Get.php index 31e649b8c..02d0e9d23 100644 --- a/src/Elasticsearch/Endpoints/License/Get.php +++ b/src/Elasticsearch/Endpoints/License/Get.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\License; diff --git a/src/Elasticsearch/Endpoints/License/GetBasicStatus.php b/src/Elasticsearch/Endpoints/License/GetBasicStatus.php index e8c464129..73021e4f6 100644 --- a/src/Elasticsearch/Endpoints/License/GetBasicStatus.php +++ b/src/Elasticsearch/Endpoints/License/GetBasicStatus.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\License; diff --git a/src/Elasticsearch/Endpoints/License/GetTrialStatus.php b/src/Elasticsearch/Endpoints/License/GetTrialStatus.php index 3fd31404c..bb9a2f129 100644 --- a/src/Elasticsearch/Endpoints/License/GetTrialStatus.php +++ b/src/Elasticsearch/Endpoints/License/GetTrialStatus.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\License; diff --git a/src/Elasticsearch/Endpoints/License/Post.php b/src/Elasticsearch/Endpoints/License/Post.php index b0a451b71..248ab4359 100644 --- a/src/Elasticsearch/Endpoints/License/Post.php +++ b/src/Elasticsearch/Endpoints/License/Post.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\License; diff --git a/src/Elasticsearch/Endpoints/License/PostStartBasic.php b/src/Elasticsearch/Endpoints/License/PostStartBasic.php index d61b30517..9a7278073 100644 --- a/src/Elasticsearch/Endpoints/License/PostStartBasic.php +++ b/src/Elasticsearch/Endpoints/License/PostStartBasic.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\License; diff --git a/src/Elasticsearch/Endpoints/License/PostStartTrial.php b/src/Elasticsearch/Endpoints/License/PostStartTrial.php index 1ca08acc4..ab001f2f3 100644 --- a/src/Elasticsearch/Endpoints/License/PostStartTrial.php +++ b/src/Elasticsearch/Endpoints/License/PostStartTrial.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\License; diff --git a/src/Elasticsearch/Endpoints/MTermVectors.php b/src/Elasticsearch/Endpoints/MTermVectors.php index 4ff04d7ba..84f361e8c 100644 --- a/src/Elasticsearch/Endpoints/MTermVectors.php +++ b/src/Elasticsearch/Endpoints/MTermVectors.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Mget.php b/src/Elasticsearch/Endpoints/Mget.php index ef8c00898..ebe590cc1 100644 --- a/src/Elasticsearch/Endpoints/Mget.php +++ b/src/Elasticsearch/Endpoints/Mget.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Migration/Deprecations.php b/src/Elasticsearch/Endpoints/Migration/Deprecations.php index 479be8622..9fbac725d 100644 --- a/src/Elasticsearch/Endpoints/Migration/Deprecations.php +++ b/src/Elasticsearch/Endpoints/Migration/Deprecations.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Migration; diff --git a/src/Elasticsearch/Endpoints/Ml/CloseJob.php b/src/Elasticsearch/Endpoints/Ml/CloseJob.php index 92fc9d85d..b8a75a100 100644 --- a/src/Elasticsearch/Endpoints/Ml/CloseJob.php +++ b/src/Elasticsearch/Endpoints/Ml/CloseJob.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteCalendar.php b/src/Elasticsearch/Endpoints/Ml/DeleteCalendar.php index 77e3fc5b6..67d921e37 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteCalendar.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteCalendar.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteCalendarEvent.php b/src/Elasticsearch/Endpoints/Ml/DeleteCalendarEvent.php index 07b6de15f..e7f085f8c 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteCalendarEvent.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteCalendarEvent.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteCalendarJob.php b/src/Elasticsearch/Endpoints/Ml/DeleteCalendarJob.php index 4f49a8980..a7058a54a 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteCalendarJob.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteCalendarJob.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Ml/DeleteDataFrameAnalytics.php index 35657fe4c..7bdc91493 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteDataFrameAnalytics.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteDatafeed.php b/src/Elasticsearch/Endpoints/Ml/DeleteDatafeed.php index e66f34b13..e2cec57e1 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteDatafeed.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteDatafeed.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteExpiredData.php b/src/Elasticsearch/Endpoints/Ml/DeleteExpiredData.php index ecf3f715e..b3b747d14 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteExpiredData.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteExpiredData.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteFilter.php b/src/Elasticsearch/Endpoints/Ml/DeleteFilter.php index 45bdbcdd3..249a44dfe 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteFilter.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteFilter.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteForecast.php b/src/Elasticsearch/Endpoints/Ml/DeleteForecast.php index df3a873a0..f7bc1437d 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteForecast.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteForecast.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteJob.php b/src/Elasticsearch/Endpoints/Ml/DeleteJob.php index 0ef53819d..3dc7b5255 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteJob.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteJob.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteModelSnapshot.php b/src/Elasticsearch/Endpoints/Ml/DeleteModelSnapshot.php index 211e9de99..b36baca88 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteModelSnapshot.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteModelSnapshot.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/DeleteTrainedModel.php b/src/Elasticsearch/Endpoints/Ml/DeleteTrainedModel.php index 946515bbd..02ebc9d4f 100644 --- a/src/Elasticsearch/Endpoints/Ml/DeleteTrainedModel.php +++ b/src/Elasticsearch/Endpoints/Ml/DeleteTrainedModel.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/EstimateModelMemory.php b/src/Elasticsearch/Endpoints/Ml/EstimateModelMemory.php index ab34b75a2..6fc151d61 100644 --- a/src/Elasticsearch/Endpoints/Ml/EstimateModelMemory.php +++ b/src/Elasticsearch/Endpoints/Ml/EstimateModelMemory.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/EvaluateDataFrame.php b/src/Elasticsearch/Endpoints/Ml/EvaluateDataFrame.php index 2b07df820..a201ba587 100644 --- a/src/Elasticsearch/Endpoints/Ml/EvaluateDataFrame.php +++ b/src/Elasticsearch/Endpoints/Ml/EvaluateDataFrame.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/ExplainDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Ml/ExplainDataFrameAnalytics.php index a970b3dab..9dfadcd0c 100644 --- a/src/Elasticsearch/Endpoints/Ml/ExplainDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Ml/ExplainDataFrameAnalytics.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/FindFileStructure.php b/src/Elasticsearch/Endpoints/Ml/FindFileStructure.php index 7015ab38d..ab9d35dac 100644 --- a/src/Elasticsearch/Endpoints/Ml/FindFileStructure.php +++ b/src/Elasticsearch/Endpoints/Ml/FindFileStructure.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; @@ -85,4 +84,5 @@ public function setBody($body): FindFileStructure } return $this; } + } diff --git a/src/Elasticsearch/Endpoints/Ml/FlushJob.php b/src/Elasticsearch/Endpoints/Ml/FlushJob.php index 3e0662a3f..a32b536ab 100644 --- a/src/Elasticsearch/Endpoints/Ml/FlushJob.php +++ b/src/Elasticsearch/Endpoints/Ml/FlushJob.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/Forecast.php b/src/Elasticsearch/Endpoints/Ml/Forecast.php index 6faa78a92..f20de60d9 100644 --- a/src/Elasticsearch/Endpoints/Ml/Forecast.php +++ b/src/Elasticsearch/Endpoints/Ml/Forecast.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetBuckets.php b/src/Elasticsearch/Endpoints/Ml/GetBuckets.php index 92f798849..fef46c630 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetBuckets.php +++ b/src/Elasticsearch/Endpoints/Ml/GetBuckets.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetCalendarEvents.php b/src/Elasticsearch/Endpoints/Ml/GetCalendarEvents.php index 05f4d9f1e..d332868af 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetCalendarEvents.php +++ b/src/Elasticsearch/Endpoints/Ml/GetCalendarEvents.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetCalendars.php b/src/Elasticsearch/Endpoints/Ml/GetCalendars.php index 7ef5ff8a0..1badfb9f2 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetCalendars.php +++ b/src/Elasticsearch/Endpoints/Ml/GetCalendars.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetCategories.php b/src/Elasticsearch/Endpoints/Ml/GetCategories.php index c2a59dc77..fd0b3119d 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetCategories.php +++ b/src/Elasticsearch/Endpoints/Ml/GetCategories.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalytics.php index 08dab4dd5..93d09b757 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalytics.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalyticsStats.php b/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalyticsStats.php index b2492fff1..01126c027 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalyticsStats.php +++ b/src/Elasticsearch/Endpoints/Ml/GetDataFrameAnalyticsStats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetDatafeedStats.php b/src/Elasticsearch/Endpoints/Ml/GetDatafeedStats.php index 52fd34a2e..1f9b1d5da 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetDatafeedStats.php +++ b/src/Elasticsearch/Endpoints/Ml/GetDatafeedStats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetDatafeeds.php b/src/Elasticsearch/Endpoints/Ml/GetDatafeeds.php index a54b848b3..9a997fe3c 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetDatafeeds.php +++ b/src/Elasticsearch/Endpoints/Ml/GetDatafeeds.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetFilters.php b/src/Elasticsearch/Endpoints/Ml/GetFilters.php index 6955b8f1b..a3b4a978b 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetFilters.php +++ b/src/Elasticsearch/Endpoints/Ml/GetFilters.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetInfluencers.php b/src/Elasticsearch/Endpoints/Ml/GetInfluencers.php index 18158615c..7ee7b72ea 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetInfluencers.php +++ b/src/Elasticsearch/Endpoints/Ml/GetInfluencers.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetJobStats.php b/src/Elasticsearch/Endpoints/Ml/GetJobStats.php index 2870d3c69..0b0e9ee15 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetJobStats.php +++ b/src/Elasticsearch/Endpoints/Ml/GetJobStats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetJobs.php b/src/Elasticsearch/Endpoints/Ml/GetJobs.php index dbb1dcce9..f9c7e26fa 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetJobs.php +++ b/src/Elasticsearch/Endpoints/Ml/GetJobs.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetModelSnapshots.php b/src/Elasticsearch/Endpoints/Ml/GetModelSnapshots.php index 914aa1993..5738c4aa3 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetModelSnapshots.php +++ b/src/Elasticsearch/Endpoints/Ml/GetModelSnapshots.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetOverallBuckets.php b/src/Elasticsearch/Endpoints/Ml/GetOverallBuckets.php index a0738ccb0..c19a3e1a2 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetOverallBuckets.php +++ b/src/Elasticsearch/Endpoints/Ml/GetOverallBuckets.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetRecords.php b/src/Elasticsearch/Endpoints/Ml/GetRecords.php index 30257ef7e..3ca1bbfb0 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetRecords.php +++ b/src/Elasticsearch/Endpoints/Ml/GetRecords.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetTrainedModels.php b/src/Elasticsearch/Endpoints/Ml/GetTrainedModels.php index 8dbce8094..6a7d2d9b9 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetTrainedModels.php +++ b/src/Elasticsearch/Endpoints/Ml/GetTrainedModels.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/GetTrainedModelsStats.php b/src/Elasticsearch/Endpoints/Ml/GetTrainedModelsStats.php index 1cf025eaa..ebe20778a 100644 --- a/src/Elasticsearch/Endpoints/Ml/GetTrainedModelsStats.php +++ b/src/Elasticsearch/Endpoints/Ml/GetTrainedModelsStats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/Info.php b/src/Elasticsearch/Endpoints/Ml/Info.php index c840c91e9..2ffa8ee67 100644 --- a/src/Elasticsearch/Endpoints/Ml/Info.php +++ b/src/Elasticsearch/Endpoints/Ml/Info.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/OpenJob.php b/src/Elasticsearch/Endpoints/Ml/OpenJob.php index 931dfa2fb..9f52383a4 100644 --- a/src/Elasticsearch/Endpoints/Ml/OpenJob.php +++ b/src/Elasticsearch/Endpoints/Ml/OpenJob.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/PostCalendarEvents.php b/src/Elasticsearch/Endpoints/Ml/PostCalendarEvents.php index 8d010c73c..d3090a547 100644 --- a/src/Elasticsearch/Endpoints/Ml/PostCalendarEvents.php +++ b/src/Elasticsearch/Endpoints/Ml/PostCalendarEvents.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/PostData.php b/src/Elasticsearch/Endpoints/Ml/PostData.php index 6b6549451..a23c5c343 100644 --- a/src/Elasticsearch/Endpoints/Ml/PostData.php +++ b/src/Elasticsearch/Endpoints/Ml/PostData.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; @@ -89,4 +88,5 @@ public function setJobId($job_id): PostData return $this; } + } diff --git a/src/Elasticsearch/Endpoints/Ml/PreviewDatafeed.php b/src/Elasticsearch/Endpoints/Ml/PreviewDatafeed.php index 62dd24c5c..a34ad91e5 100644 --- a/src/Elasticsearch/Endpoints/Ml/PreviewDatafeed.php +++ b/src/Elasticsearch/Endpoints/Ml/PreviewDatafeed.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/PutCalendar.php b/src/Elasticsearch/Endpoints/Ml/PutCalendar.php index 134ae7baf..155e3e834 100644 --- a/src/Elasticsearch/Endpoints/Ml/PutCalendar.php +++ b/src/Elasticsearch/Endpoints/Ml/PutCalendar.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/PutCalendarJob.php b/src/Elasticsearch/Endpoints/Ml/PutCalendarJob.php index 3d7d4d859..f48f8bf41 100644 --- a/src/Elasticsearch/Endpoints/Ml/PutCalendarJob.php +++ b/src/Elasticsearch/Endpoints/Ml/PutCalendarJob.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/PutDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Ml/PutDataFrameAnalytics.php index 877768754..9e13ee302 100644 --- a/src/Elasticsearch/Endpoints/Ml/PutDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Ml/PutDataFrameAnalytics.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/PutDatafeed.php b/src/Elasticsearch/Endpoints/Ml/PutDatafeed.php index 69fcd8e96..1bc07e3df 100644 --- a/src/Elasticsearch/Endpoints/Ml/PutDatafeed.php +++ b/src/Elasticsearch/Endpoints/Ml/PutDatafeed.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/PutFilter.php b/src/Elasticsearch/Endpoints/Ml/PutFilter.php index 1592f9189..840229425 100644 --- a/src/Elasticsearch/Endpoints/Ml/PutFilter.php +++ b/src/Elasticsearch/Endpoints/Ml/PutFilter.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/PutJob.php b/src/Elasticsearch/Endpoints/Ml/PutJob.php index 0ec72811a..6a1aca3ae 100644 --- a/src/Elasticsearch/Endpoints/Ml/PutJob.php +++ b/src/Elasticsearch/Endpoints/Ml/PutJob.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/PutTrainedModel.php b/src/Elasticsearch/Endpoints/Ml/PutTrainedModel.php index 632fa3a76..0aa9cc82a 100644 --- a/src/Elasticsearch/Endpoints/Ml/PutTrainedModel.php +++ b/src/Elasticsearch/Endpoints/Ml/PutTrainedModel.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/RevertModelSnapshot.php b/src/Elasticsearch/Endpoints/Ml/RevertModelSnapshot.php index 2408543e1..65a10602f 100644 --- a/src/Elasticsearch/Endpoints/Ml/RevertModelSnapshot.php +++ b/src/Elasticsearch/Endpoints/Ml/RevertModelSnapshot.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/SetUpgradeMode.php b/src/Elasticsearch/Endpoints/Ml/SetUpgradeMode.php index 3e7309a70..34a680e4e 100644 --- a/src/Elasticsearch/Endpoints/Ml/SetUpgradeMode.php +++ b/src/Elasticsearch/Endpoints/Ml/SetUpgradeMode.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/StartDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Ml/StartDataFrameAnalytics.php index 4358f7a73..a491e8496 100644 --- a/src/Elasticsearch/Endpoints/Ml/StartDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Ml/StartDataFrameAnalytics.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/StartDatafeed.php b/src/Elasticsearch/Endpoints/Ml/StartDatafeed.php index 14ca4adcd..5b91eb1a7 100644 --- a/src/Elasticsearch/Endpoints/Ml/StartDatafeed.php +++ b/src/Elasticsearch/Endpoints/Ml/StartDatafeed.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/StopDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Ml/StopDataFrameAnalytics.php index ed68bda37..35fab8ad1 100644 --- a/src/Elasticsearch/Endpoints/Ml/StopDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Ml/StopDataFrameAnalytics.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/StopDatafeed.php b/src/Elasticsearch/Endpoints/Ml/StopDatafeed.php index a585491e0..c6524fcf8 100644 --- a/src/Elasticsearch/Endpoints/Ml/StopDatafeed.php +++ b/src/Elasticsearch/Endpoints/Ml/StopDatafeed.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/UpdateDataFrameAnalytics.php b/src/Elasticsearch/Endpoints/Ml/UpdateDataFrameAnalytics.php index f435025bd..3a56040a5 100644 --- a/src/Elasticsearch/Endpoints/Ml/UpdateDataFrameAnalytics.php +++ b/src/Elasticsearch/Endpoints/Ml/UpdateDataFrameAnalytics.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/UpdateDatafeed.php b/src/Elasticsearch/Endpoints/Ml/UpdateDatafeed.php index 6926cf6a8..cbee6d1ac 100644 --- a/src/Elasticsearch/Endpoints/Ml/UpdateDatafeed.php +++ b/src/Elasticsearch/Endpoints/Ml/UpdateDatafeed.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/UpdateFilter.php b/src/Elasticsearch/Endpoints/Ml/UpdateFilter.php index e8a6ed227..36455b357 100644 --- a/src/Elasticsearch/Endpoints/Ml/UpdateFilter.php +++ b/src/Elasticsearch/Endpoints/Ml/UpdateFilter.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/UpdateJob.php b/src/Elasticsearch/Endpoints/Ml/UpdateJob.php index 9d3ba483c..8753d16de 100644 --- a/src/Elasticsearch/Endpoints/Ml/UpdateJob.php +++ b/src/Elasticsearch/Endpoints/Ml/UpdateJob.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/UpdateModelSnapshot.php b/src/Elasticsearch/Endpoints/Ml/UpdateModelSnapshot.php index d9535be89..3e324469c 100644 --- a/src/Elasticsearch/Endpoints/Ml/UpdateModelSnapshot.php +++ b/src/Elasticsearch/Endpoints/Ml/UpdateModelSnapshot.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/Validate.php b/src/Elasticsearch/Endpoints/Ml/Validate.php index 1264474ea..d0d13feff 100644 --- a/src/Elasticsearch/Endpoints/Ml/Validate.php +++ b/src/Elasticsearch/Endpoints/Ml/Validate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Ml/ValidateDetector.php b/src/Elasticsearch/Endpoints/Ml/ValidateDetector.php index c0df383f2..829e2234c 100644 --- a/src/Elasticsearch/Endpoints/Ml/ValidateDetector.php +++ b/src/Elasticsearch/Endpoints/Ml/ValidateDetector.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ml; diff --git a/src/Elasticsearch/Endpoints/Monitoring/Bulk.php b/src/Elasticsearch/Endpoints/Monitoring/Bulk.php index c89d3ed67..dc92e5045 100644 --- a/src/Elasticsearch/Endpoints/Monitoring/Bulk.php +++ b/src/Elasticsearch/Endpoints/Monitoring/Bulk.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Monitoring; @@ -81,4 +80,5 @@ public function setBody($body): Bulk } return $this; } + } diff --git a/src/Elasticsearch/Endpoints/Msearch.php b/src/Elasticsearch/Endpoints/Msearch.php index be9db311c..c2c0c1e71 100644 --- a/src/Elasticsearch/Endpoints/Msearch.php +++ b/src/Elasticsearch/Endpoints/Msearch.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; @@ -89,4 +88,5 @@ public function setBody($body): Msearch } return $this; } + } diff --git a/src/Elasticsearch/Endpoints/MsearchTemplate.php b/src/Elasticsearch/Endpoints/MsearchTemplate.php index 427651d9d..da7785200 100644 --- a/src/Elasticsearch/Endpoints/MsearchTemplate.php +++ b/src/Elasticsearch/Endpoints/MsearchTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; @@ -87,4 +86,5 @@ public function setBody($body): MsearchTemplate } return $this; } + } diff --git a/src/Elasticsearch/Endpoints/Nodes/HotThreads.php b/src/Elasticsearch/Endpoints/Nodes/HotThreads.php index 127b08ac2..a22b473bc 100644 --- a/src/Elasticsearch/Endpoints/Nodes/HotThreads.php +++ b/src/Elasticsearch/Endpoints/Nodes/HotThreads.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Nodes; diff --git a/src/Elasticsearch/Endpoints/Nodes/Info.php b/src/Elasticsearch/Endpoints/Nodes/Info.php index e8de91f70..f53e81ae4 100644 --- a/src/Elasticsearch/Endpoints/Nodes/Info.php +++ b/src/Elasticsearch/Endpoints/Nodes/Info.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Nodes; diff --git a/src/Elasticsearch/Endpoints/Nodes/ReloadSecureSettings.php b/src/Elasticsearch/Endpoints/Nodes/ReloadSecureSettings.php index 27ab4682b..9e5ea9fe7 100644 --- a/src/Elasticsearch/Endpoints/Nodes/ReloadSecureSettings.php +++ b/src/Elasticsearch/Endpoints/Nodes/ReloadSecureSettings.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Nodes; diff --git a/src/Elasticsearch/Endpoints/Nodes/Stats.php b/src/Elasticsearch/Endpoints/Nodes/Stats.php index 1a72bcbaa..0137f1ad5 100644 --- a/src/Elasticsearch/Endpoints/Nodes/Stats.php +++ b/src/Elasticsearch/Endpoints/Nodes/Stats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Nodes; diff --git a/src/Elasticsearch/Endpoints/Nodes/Usage.php b/src/Elasticsearch/Endpoints/Nodes/Usage.php index d4c391a9a..472ce3994 100644 --- a/src/Elasticsearch/Endpoints/Nodes/Usage.php +++ b/src/Elasticsearch/Endpoints/Nodes/Usage.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Nodes; diff --git a/src/Elasticsearch/Endpoints/Ping.php b/src/Elasticsearch/Endpoints/Ping.php index 9e26e199f..40cafca85 100644 --- a/src/Elasticsearch/Endpoints/Ping.php +++ b/src/Elasticsearch/Endpoints/Ping.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/PutScript.php b/src/Elasticsearch/Endpoints/PutScript.php index 35ec11eb8..56723b095 100644 --- a/src/Elasticsearch/Endpoints/PutScript.php +++ b/src/Elasticsearch/Endpoints/PutScript.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/RankEval.php b/src/Elasticsearch/Endpoints/RankEval.php index a7f3b87f6..dad1e80c5 100644 --- a/src/Elasticsearch/Endpoints/RankEval.php +++ b/src/Elasticsearch/Endpoints/RankEval.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Reindex.php b/src/Elasticsearch/Endpoints/Reindex.php index 8aaecec8c..876d48373 100644 --- a/src/Elasticsearch/Endpoints/Reindex.php +++ b/src/Elasticsearch/Endpoints/Reindex.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/ReindexRethrottle.php b/src/Elasticsearch/Endpoints/ReindexRethrottle.php index cbdc2cd3e..77e69646d 100644 --- a/src/Elasticsearch/Endpoints/ReindexRethrottle.php +++ b/src/Elasticsearch/Endpoints/ReindexRethrottle.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/RenderSearchTemplate.php b/src/Elasticsearch/Endpoints/RenderSearchTemplate.php index df4840740..5c5a4b7af 100644 --- a/src/Elasticsearch/Endpoints/RenderSearchTemplate.php +++ b/src/Elasticsearch/Endpoints/RenderSearchTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Rollup/DeleteJob.php b/src/Elasticsearch/Endpoints/Rollup/DeleteJob.php index db3597a6a..cb58ecbb3 100644 --- a/src/Elasticsearch/Endpoints/Rollup/DeleteJob.php +++ b/src/Elasticsearch/Endpoints/Rollup/DeleteJob.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Rollup; diff --git a/src/Elasticsearch/Endpoints/Rollup/GetJobs.php b/src/Elasticsearch/Endpoints/Rollup/GetJobs.php index 194ebf547..8130e0d9e 100644 --- a/src/Elasticsearch/Endpoints/Rollup/GetJobs.php +++ b/src/Elasticsearch/Endpoints/Rollup/GetJobs.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Rollup; diff --git a/src/Elasticsearch/Endpoints/Rollup/GetRollupCaps.php b/src/Elasticsearch/Endpoints/Rollup/GetRollupCaps.php index f179bdb3e..60b2a502a 100644 --- a/src/Elasticsearch/Endpoints/Rollup/GetRollupCaps.php +++ b/src/Elasticsearch/Endpoints/Rollup/GetRollupCaps.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Rollup; diff --git a/src/Elasticsearch/Endpoints/Rollup/GetRollupIndexCaps.php b/src/Elasticsearch/Endpoints/Rollup/GetRollupIndexCaps.php index fc0456343..e178a5490 100644 --- a/src/Elasticsearch/Endpoints/Rollup/GetRollupIndexCaps.php +++ b/src/Elasticsearch/Endpoints/Rollup/GetRollupIndexCaps.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Rollup; diff --git a/src/Elasticsearch/Endpoints/Rollup/PutJob.php b/src/Elasticsearch/Endpoints/Rollup/PutJob.php index 896bf5114..0c8e9de71 100644 --- a/src/Elasticsearch/Endpoints/Rollup/PutJob.php +++ b/src/Elasticsearch/Endpoints/Rollup/PutJob.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Rollup; diff --git a/src/Elasticsearch/Endpoints/Rollup/RollupSearch.php b/src/Elasticsearch/Endpoints/Rollup/RollupSearch.php index 221a60aef..00689ef75 100644 --- a/src/Elasticsearch/Endpoints/Rollup/RollupSearch.php +++ b/src/Elasticsearch/Endpoints/Rollup/RollupSearch.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Rollup; diff --git a/src/Elasticsearch/Endpoints/Rollup/StartJob.php b/src/Elasticsearch/Endpoints/Rollup/StartJob.php index 8f9bf664b..a1926c949 100644 --- a/src/Elasticsearch/Endpoints/Rollup/StartJob.php +++ b/src/Elasticsearch/Endpoints/Rollup/StartJob.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Rollup; diff --git a/src/Elasticsearch/Endpoints/Rollup/StopJob.php b/src/Elasticsearch/Endpoints/Rollup/StopJob.php index 911446875..12f15d565 100644 --- a/src/Elasticsearch/Endpoints/Rollup/StopJob.php +++ b/src/Elasticsearch/Endpoints/Rollup/StopJob.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Rollup; diff --git a/src/Elasticsearch/Endpoints/ScriptsPainlessExecute.php b/src/Elasticsearch/Endpoints/ScriptsPainlessExecute.php index 2ef70c315..d899216f8 100644 --- a/src/Elasticsearch/Endpoints/ScriptsPainlessExecute.php +++ b/src/Elasticsearch/Endpoints/ScriptsPainlessExecute.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Scroll.php b/src/Elasticsearch/Endpoints/Scroll.php index 3fad866b4..fd7631161 100644 --- a/src/Elasticsearch/Endpoints/Scroll.php +++ b/src/Elasticsearch/Endpoints/Scroll.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Search.php b/src/Elasticsearch/Endpoints/Search.php index ccd8c6d97..ee4459d6d 100644 --- a/src/Elasticsearch/Endpoints/Search.php +++ b/src/Elasticsearch/Endpoints/Search.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/SearchShards.php b/src/Elasticsearch/Endpoints/SearchShards.php index c91d7ded9..644d61683 100644 --- a/src/Elasticsearch/Endpoints/SearchShards.php +++ b/src/Elasticsearch/Endpoints/SearchShards.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/SearchTemplate.php b/src/Elasticsearch/Endpoints/SearchTemplate.php index 7184605e9..f7ebf9817 100644 --- a/src/Elasticsearch/Endpoints/SearchTemplate.php +++ b/src/Elasticsearch/Endpoints/SearchTemplate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/SearchableSnapshots/ClearCache.php b/src/Elasticsearch/Endpoints/SearchableSnapshots/ClearCache.php index 696c90d48..b43c081f9 100644 --- a/src/Elasticsearch/Endpoints/SearchableSnapshots/ClearCache.php +++ b/src/Elasticsearch/Endpoints/SearchableSnapshots/ClearCache.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\SearchableSnapshots; diff --git a/src/Elasticsearch/Endpoints/SearchableSnapshots/Mount.php b/src/Elasticsearch/Endpoints/SearchableSnapshots/Mount.php index ddeca67aa..c08ae9aa6 100644 --- a/src/Elasticsearch/Endpoints/SearchableSnapshots/Mount.php +++ b/src/Elasticsearch/Endpoints/SearchableSnapshots/Mount.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\SearchableSnapshots; diff --git a/src/Elasticsearch/Endpoints/SearchableSnapshots/RepositoryStats.php b/src/Elasticsearch/Endpoints/SearchableSnapshots/RepositoryStats.php index 0acf1a5b3..c37479f3d 100644 --- a/src/Elasticsearch/Endpoints/SearchableSnapshots/RepositoryStats.php +++ b/src/Elasticsearch/Endpoints/SearchableSnapshots/RepositoryStats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\SearchableSnapshots; diff --git a/src/Elasticsearch/Endpoints/SearchableSnapshots/Stats.php b/src/Elasticsearch/Endpoints/SearchableSnapshots/Stats.php index ed8ecc9d9..f0068afbb 100644 --- a/src/Elasticsearch/Endpoints/SearchableSnapshots/Stats.php +++ b/src/Elasticsearch/Endpoints/SearchableSnapshots/Stats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\SearchableSnapshots; diff --git a/src/Elasticsearch/Endpoints/Security/Authenticate.php b/src/Elasticsearch/Endpoints/Security/Authenticate.php index 4a04cf426..6737604c1 100644 --- a/src/Elasticsearch/Endpoints/Security/Authenticate.php +++ b/src/Elasticsearch/Endpoints/Security/Authenticate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/ChangePassword.php b/src/Elasticsearch/Endpoints/Security/ChangePassword.php index 0ba25d484..8bff09d47 100644 --- a/src/Elasticsearch/Endpoints/Security/ChangePassword.php +++ b/src/Elasticsearch/Endpoints/Security/ChangePassword.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/ClearCachedPrivileges.php b/src/Elasticsearch/Endpoints/Security/ClearCachedPrivileges.php index 83674230c..f1bec2301 100644 --- a/src/Elasticsearch/Endpoints/Security/ClearCachedPrivileges.php +++ b/src/Elasticsearch/Endpoints/Security/ClearCachedPrivileges.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/ClearCachedRealms.php b/src/Elasticsearch/Endpoints/Security/ClearCachedRealms.php index 3b113e880..038d78e0b 100644 --- a/src/Elasticsearch/Endpoints/Security/ClearCachedRealms.php +++ b/src/Elasticsearch/Endpoints/Security/ClearCachedRealms.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/ClearCachedRoles.php b/src/Elasticsearch/Endpoints/Security/ClearCachedRoles.php index 8e824f9d8..7be67c7ab 100644 --- a/src/Elasticsearch/Endpoints/Security/ClearCachedRoles.php +++ b/src/Elasticsearch/Endpoints/Security/ClearCachedRoles.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/CreateApiKey.php b/src/Elasticsearch/Endpoints/Security/CreateApiKey.php index 65b7b2374..7ef7a6afc 100644 --- a/src/Elasticsearch/Endpoints/Security/CreateApiKey.php +++ b/src/Elasticsearch/Endpoints/Security/CreateApiKey.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/DeletePrivileges.php b/src/Elasticsearch/Endpoints/Security/DeletePrivileges.php index 6a074fcfc..a133362e9 100644 --- a/src/Elasticsearch/Endpoints/Security/DeletePrivileges.php +++ b/src/Elasticsearch/Endpoints/Security/DeletePrivileges.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/DeleteRole.php b/src/Elasticsearch/Endpoints/Security/DeleteRole.php index 7bb88c6db..39ec139e0 100644 --- a/src/Elasticsearch/Endpoints/Security/DeleteRole.php +++ b/src/Elasticsearch/Endpoints/Security/DeleteRole.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/DeleteRoleMapping.php b/src/Elasticsearch/Endpoints/Security/DeleteRoleMapping.php index 49761a0b1..f83fa19bf 100644 --- a/src/Elasticsearch/Endpoints/Security/DeleteRoleMapping.php +++ b/src/Elasticsearch/Endpoints/Security/DeleteRoleMapping.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/DeleteUser.php b/src/Elasticsearch/Endpoints/Security/DeleteUser.php index 570364522..074c681e3 100644 --- a/src/Elasticsearch/Endpoints/Security/DeleteUser.php +++ b/src/Elasticsearch/Endpoints/Security/DeleteUser.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/DisableUser.php b/src/Elasticsearch/Endpoints/Security/DisableUser.php index ae73802ea..896e84b16 100644 --- a/src/Elasticsearch/Endpoints/Security/DisableUser.php +++ b/src/Elasticsearch/Endpoints/Security/DisableUser.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/EnableUser.php b/src/Elasticsearch/Endpoints/Security/EnableUser.php index ca529bc5f..4a2c1d78a 100644 --- a/src/Elasticsearch/Endpoints/Security/EnableUser.php +++ b/src/Elasticsearch/Endpoints/Security/EnableUser.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/GetApiKey.php b/src/Elasticsearch/Endpoints/Security/GetApiKey.php index 05b92916c..a90d5b409 100644 --- a/src/Elasticsearch/Endpoints/Security/GetApiKey.php +++ b/src/Elasticsearch/Endpoints/Security/GetApiKey.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/GetBuiltinPrivileges.php b/src/Elasticsearch/Endpoints/Security/GetBuiltinPrivileges.php index 026cfd892..25d181ee4 100644 --- a/src/Elasticsearch/Endpoints/Security/GetBuiltinPrivileges.php +++ b/src/Elasticsearch/Endpoints/Security/GetBuiltinPrivileges.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/GetPrivileges.php b/src/Elasticsearch/Endpoints/Security/GetPrivileges.php index 67c8038d5..780e53184 100644 --- a/src/Elasticsearch/Endpoints/Security/GetPrivileges.php +++ b/src/Elasticsearch/Endpoints/Security/GetPrivileges.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/GetRole.php b/src/Elasticsearch/Endpoints/Security/GetRole.php index c2b515f43..94d0b7cc1 100644 --- a/src/Elasticsearch/Endpoints/Security/GetRole.php +++ b/src/Elasticsearch/Endpoints/Security/GetRole.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/GetRoleMapping.php b/src/Elasticsearch/Endpoints/Security/GetRoleMapping.php index 748d3a3b5..7ccea8176 100644 --- a/src/Elasticsearch/Endpoints/Security/GetRoleMapping.php +++ b/src/Elasticsearch/Endpoints/Security/GetRoleMapping.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/GetToken.php b/src/Elasticsearch/Endpoints/Security/GetToken.php index 28d8d2d00..84b6e17b5 100644 --- a/src/Elasticsearch/Endpoints/Security/GetToken.php +++ b/src/Elasticsearch/Endpoints/Security/GetToken.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/GetUser.php b/src/Elasticsearch/Endpoints/Security/GetUser.php index ea734fbae..6f32a4447 100644 --- a/src/Elasticsearch/Endpoints/Security/GetUser.php +++ b/src/Elasticsearch/Endpoints/Security/GetUser.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/GetUserPrivileges.php b/src/Elasticsearch/Endpoints/Security/GetUserPrivileges.php index 5503a4fd5..08ac3ceae 100644 --- a/src/Elasticsearch/Endpoints/Security/GetUserPrivileges.php +++ b/src/Elasticsearch/Endpoints/Security/GetUserPrivileges.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/HasPrivileges.php b/src/Elasticsearch/Endpoints/Security/HasPrivileges.php index f816539b9..4594980a4 100644 --- a/src/Elasticsearch/Endpoints/Security/HasPrivileges.php +++ b/src/Elasticsearch/Endpoints/Security/HasPrivileges.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/InvalidateApiKey.php b/src/Elasticsearch/Endpoints/Security/InvalidateApiKey.php index fa27707aa..312eae746 100644 --- a/src/Elasticsearch/Endpoints/Security/InvalidateApiKey.php +++ b/src/Elasticsearch/Endpoints/Security/InvalidateApiKey.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/InvalidateToken.php b/src/Elasticsearch/Endpoints/Security/InvalidateToken.php index ac9373f58..622349881 100644 --- a/src/Elasticsearch/Endpoints/Security/InvalidateToken.php +++ b/src/Elasticsearch/Endpoints/Security/InvalidateToken.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/PutPrivileges.php b/src/Elasticsearch/Endpoints/Security/PutPrivileges.php index 77c17164a..abf3d8a48 100644 --- a/src/Elasticsearch/Endpoints/Security/PutPrivileges.php +++ b/src/Elasticsearch/Endpoints/Security/PutPrivileges.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/PutRole.php b/src/Elasticsearch/Endpoints/Security/PutRole.php index 54418962a..ee20bbf58 100644 --- a/src/Elasticsearch/Endpoints/Security/PutRole.php +++ b/src/Elasticsearch/Endpoints/Security/PutRole.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/PutRoleMapping.php b/src/Elasticsearch/Endpoints/Security/PutRoleMapping.php index 43c18566f..828f9e346 100644 --- a/src/Elasticsearch/Endpoints/Security/PutRoleMapping.php +++ b/src/Elasticsearch/Endpoints/Security/PutRoleMapping.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Security/PutUser.php b/src/Elasticsearch/Endpoints/Security/PutUser.php index 19d317692..12abea72e 100644 --- a/src/Elasticsearch/Endpoints/Security/PutUser.php +++ b/src/Elasticsearch/Endpoints/Security/PutUser.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Security; diff --git a/src/Elasticsearch/Endpoints/Slm/DeleteLifecycle.php b/src/Elasticsearch/Endpoints/Slm/DeleteLifecycle.php index 93ae2b07a..6bd142505 100644 --- a/src/Elasticsearch/Endpoints/Slm/DeleteLifecycle.php +++ b/src/Elasticsearch/Endpoints/Slm/DeleteLifecycle.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Slm; diff --git a/src/Elasticsearch/Endpoints/Slm/ExecuteLifecycle.php b/src/Elasticsearch/Endpoints/Slm/ExecuteLifecycle.php index 13d8186f6..ff2930bb0 100644 --- a/src/Elasticsearch/Endpoints/Slm/ExecuteLifecycle.php +++ b/src/Elasticsearch/Endpoints/Slm/ExecuteLifecycle.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Slm; diff --git a/src/Elasticsearch/Endpoints/Slm/ExecuteRetention.php b/src/Elasticsearch/Endpoints/Slm/ExecuteRetention.php index e824a71b7..9c4ab7cd3 100644 --- a/src/Elasticsearch/Endpoints/Slm/ExecuteRetention.php +++ b/src/Elasticsearch/Endpoints/Slm/ExecuteRetention.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Slm; diff --git a/src/Elasticsearch/Endpoints/Slm/GetLifecycle.php b/src/Elasticsearch/Endpoints/Slm/GetLifecycle.php index 656ed87a2..26e6ec259 100644 --- a/src/Elasticsearch/Endpoints/Slm/GetLifecycle.php +++ b/src/Elasticsearch/Endpoints/Slm/GetLifecycle.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Slm; diff --git a/src/Elasticsearch/Endpoints/Slm/GetStats.php b/src/Elasticsearch/Endpoints/Slm/GetStats.php index 45b912ec0..a320da7f2 100644 --- a/src/Elasticsearch/Endpoints/Slm/GetStats.php +++ b/src/Elasticsearch/Endpoints/Slm/GetStats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Slm; diff --git a/src/Elasticsearch/Endpoints/Slm/GetStatus.php b/src/Elasticsearch/Endpoints/Slm/GetStatus.php index eeb0e82e7..2be5483ce 100644 --- a/src/Elasticsearch/Endpoints/Slm/GetStatus.php +++ b/src/Elasticsearch/Endpoints/Slm/GetStatus.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Slm; diff --git a/src/Elasticsearch/Endpoints/Slm/PutLifecycle.php b/src/Elasticsearch/Endpoints/Slm/PutLifecycle.php index a13772737..1bb4d7f64 100644 --- a/src/Elasticsearch/Endpoints/Slm/PutLifecycle.php +++ b/src/Elasticsearch/Endpoints/Slm/PutLifecycle.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Slm; diff --git a/src/Elasticsearch/Endpoints/Slm/Start.php b/src/Elasticsearch/Endpoints/Slm/Start.php index 62d195287..88078b2f1 100644 --- a/src/Elasticsearch/Endpoints/Slm/Start.php +++ b/src/Elasticsearch/Endpoints/Slm/Start.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Slm; diff --git a/src/Elasticsearch/Endpoints/Slm/Stop.php b/src/Elasticsearch/Endpoints/Slm/Stop.php index 2c8d8e9d9..dec502aef 100644 --- a/src/Elasticsearch/Endpoints/Slm/Stop.php +++ b/src/Elasticsearch/Endpoints/Slm/Stop.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Slm; diff --git a/src/Elasticsearch/Endpoints/Snapshot/CleanupRepository.php b/src/Elasticsearch/Endpoints/Snapshot/CleanupRepository.php index 67605c852..a29184aeb 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/CleanupRepository.php +++ b/src/Elasticsearch/Endpoints/Snapshot/CleanupRepository.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Snapshot; diff --git a/src/Elasticsearch/Endpoints/Snapshot/Create.php b/src/Elasticsearch/Endpoints/Snapshot/Create.php index 5730846b2..0f4455dc1 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/Create.php +++ b/src/Elasticsearch/Endpoints/Snapshot/Create.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Snapshot; diff --git a/src/Elasticsearch/Endpoints/Snapshot/CreateRepository.php b/src/Elasticsearch/Endpoints/Snapshot/CreateRepository.php index 85fbe3c30..e398d9861 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/CreateRepository.php +++ b/src/Elasticsearch/Endpoints/Snapshot/CreateRepository.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Snapshot; diff --git a/src/Elasticsearch/Endpoints/Snapshot/Delete.php b/src/Elasticsearch/Endpoints/Snapshot/Delete.php index e0b533e2f..d871a498e 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/Delete.php +++ b/src/Elasticsearch/Endpoints/Snapshot/Delete.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Snapshot; diff --git a/src/Elasticsearch/Endpoints/Snapshot/DeleteRepository.php b/src/Elasticsearch/Endpoints/Snapshot/DeleteRepository.php index e8c317931..1764ef95e 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/DeleteRepository.php +++ b/src/Elasticsearch/Endpoints/Snapshot/DeleteRepository.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Snapshot; diff --git a/src/Elasticsearch/Endpoints/Snapshot/Get.php b/src/Elasticsearch/Endpoints/Snapshot/Get.php index 30a65aea8..81cb50172 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/Get.php +++ b/src/Elasticsearch/Endpoints/Snapshot/Get.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Snapshot; diff --git a/src/Elasticsearch/Endpoints/Snapshot/GetRepository.php b/src/Elasticsearch/Endpoints/Snapshot/GetRepository.php index 96ff8c8ec..4d660243c 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/GetRepository.php +++ b/src/Elasticsearch/Endpoints/Snapshot/GetRepository.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Snapshot; diff --git a/src/Elasticsearch/Endpoints/Snapshot/Restore.php b/src/Elasticsearch/Endpoints/Snapshot/Restore.php index ff975d8d8..92323d760 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/Restore.php +++ b/src/Elasticsearch/Endpoints/Snapshot/Restore.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Snapshot; diff --git a/src/Elasticsearch/Endpoints/Snapshot/Status.php b/src/Elasticsearch/Endpoints/Snapshot/Status.php index 957416d75..02013e6ad 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/Status.php +++ b/src/Elasticsearch/Endpoints/Snapshot/Status.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Snapshot; diff --git a/src/Elasticsearch/Endpoints/Snapshot/VerifyRepository.php b/src/Elasticsearch/Endpoints/Snapshot/VerifyRepository.php index 4b5038db5..5e8b20c0e 100644 --- a/src/Elasticsearch/Endpoints/Snapshot/VerifyRepository.php +++ b/src/Elasticsearch/Endpoints/Snapshot/VerifyRepository.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Snapshot; diff --git a/src/Elasticsearch/Endpoints/Sql/ClearCursor.php b/src/Elasticsearch/Endpoints/Sql/ClearCursor.php index 8d9c25a93..45a5f0b02 100644 --- a/src/Elasticsearch/Endpoints/Sql/ClearCursor.php +++ b/src/Elasticsearch/Endpoints/Sql/ClearCursor.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Sql; diff --git a/src/Elasticsearch/Endpoints/Sql/Query.php b/src/Elasticsearch/Endpoints/Sql/Query.php index b0db95ce3..23232da51 100644 --- a/src/Elasticsearch/Endpoints/Sql/Query.php +++ b/src/Elasticsearch/Endpoints/Sql/Query.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Sql; diff --git a/src/Elasticsearch/Endpoints/Sql/Translate.php b/src/Elasticsearch/Endpoints/Sql/Translate.php index e240cc343..b3b04c530 100644 --- a/src/Elasticsearch/Endpoints/Sql/Translate.php +++ b/src/Elasticsearch/Endpoints/Sql/Translate.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Sql; diff --git a/src/Elasticsearch/Endpoints/Ssl/Certificates.php b/src/Elasticsearch/Endpoints/Ssl/Certificates.php index 7174754f9..b47813a2d 100644 --- a/src/Elasticsearch/Endpoints/Ssl/Certificates.php +++ b/src/Elasticsearch/Endpoints/Ssl/Certificates.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Ssl; diff --git a/src/Elasticsearch/Endpoints/Tasks/Cancel.php b/src/Elasticsearch/Endpoints/Tasks/Cancel.php index c54deaffd..9179a29e2 100644 --- a/src/Elasticsearch/Endpoints/Tasks/Cancel.php +++ b/src/Elasticsearch/Endpoints/Tasks/Cancel.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Tasks; diff --git a/src/Elasticsearch/Endpoints/Tasks/Get.php b/src/Elasticsearch/Endpoints/Tasks/Get.php index 7e543da0c..a65490ffd 100644 --- a/src/Elasticsearch/Endpoints/Tasks/Get.php +++ b/src/Elasticsearch/Endpoints/Tasks/Get.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Tasks; diff --git a/src/Elasticsearch/Endpoints/Tasks/ListTasks.php b/src/Elasticsearch/Endpoints/Tasks/ListTasks.php index f42c02536..7c18671f7 100644 --- a/src/Elasticsearch/Endpoints/Tasks/ListTasks.php +++ b/src/Elasticsearch/Endpoints/Tasks/ListTasks.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Tasks; diff --git a/src/Elasticsearch/Endpoints/TermVectors.php b/src/Elasticsearch/Endpoints/TermVectors.php index 6db01fbb2..ce1b89fc7 100644 --- a/src/Elasticsearch/Endpoints/TermVectors.php +++ b/src/Elasticsearch/Endpoints/TermVectors.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Transform/DeleteTransform.php b/src/Elasticsearch/Endpoints/Transform/DeleteTransform.php index cafe3821a..7df5bd31f 100644 --- a/src/Elasticsearch/Endpoints/Transform/DeleteTransform.php +++ b/src/Elasticsearch/Endpoints/Transform/DeleteTransform.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Transform; diff --git a/src/Elasticsearch/Endpoints/Transform/GetTransform.php b/src/Elasticsearch/Endpoints/Transform/GetTransform.php index 9b7005790..d1cfb575a 100644 --- a/src/Elasticsearch/Endpoints/Transform/GetTransform.php +++ b/src/Elasticsearch/Endpoints/Transform/GetTransform.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Transform; diff --git a/src/Elasticsearch/Endpoints/Transform/GetTransformStats.php b/src/Elasticsearch/Endpoints/Transform/GetTransformStats.php index 3b6b1af1c..3335c0527 100644 --- a/src/Elasticsearch/Endpoints/Transform/GetTransformStats.php +++ b/src/Elasticsearch/Endpoints/Transform/GetTransformStats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Transform; diff --git a/src/Elasticsearch/Endpoints/Transform/PreviewTransform.php b/src/Elasticsearch/Endpoints/Transform/PreviewTransform.php index e52054947..801b31182 100644 --- a/src/Elasticsearch/Endpoints/Transform/PreviewTransform.php +++ b/src/Elasticsearch/Endpoints/Transform/PreviewTransform.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Transform; diff --git a/src/Elasticsearch/Endpoints/Transform/PutTransform.php b/src/Elasticsearch/Endpoints/Transform/PutTransform.php index 198a3b2c3..0a6d5bae0 100644 --- a/src/Elasticsearch/Endpoints/Transform/PutTransform.php +++ b/src/Elasticsearch/Endpoints/Transform/PutTransform.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Transform; diff --git a/src/Elasticsearch/Endpoints/Transform/StartTransform.php b/src/Elasticsearch/Endpoints/Transform/StartTransform.php index c1d37a366..ac59191fa 100644 --- a/src/Elasticsearch/Endpoints/Transform/StartTransform.php +++ b/src/Elasticsearch/Endpoints/Transform/StartTransform.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Transform; diff --git a/src/Elasticsearch/Endpoints/Transform/StopTransform.php b/src/Elasticsearch/Endpoints/Transform/StopTransform.php index 1d0280f14..d38ccfa78 100644 --- a/src/Elasticsearch/Endpoints/Transform/StopTransform.php +++ b/src/Elasticsearch/Endpoints/Transform/StopTransform.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Transform; diff --git a/src/Elasticsearch/Endpoints/Transform/UpdateTransform.php b/src/Elasticsearch/Endpoints/Transform/UpdateTransform.php index 63aa109b8..b3e71685d 100644 --- a/src/Elasticsearch/Endpoints/Transform/UpdateTransform.php +++ b/src/Elasticsearch/Endpoints/Transform/UpdateTransform.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Transform; diff --git a/src/Elasticsearch/Endpoints/Update.php b/src/Elasticsearch/Endpoints/Update.php index a6f6090ec..890b58166 100644 --- a/src/Elasticsearch/Endpoints/Update.php +++ b/src/Elasticsearch/Endpoints/Update.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/UpdateByQuery.php b/src/Elasticsearch/Endpoints/UpdateByQuery.php index 4eecb1df4..da0e7f272 100644 --- a/src/Elasticsearch/Endpoints/UpdateByQuery.php +++ b/src/Elasticsearch/Endpoints/UpdateByQuery.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/UpdateByQueryRethrottle.php b/src/Elasticsearch/Endpoints/UpdateByQueryRethrottle.php index 4579576d7..b634d52cf 100644 --- a/src/Elasticsearch/Endpoints/UpdateByQueryRethrottle.php +++ b/src/Elasticsearch/Endpoints/UpdateByQueryRethrottle.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints; diff --git a/src/Elasticsearch/Endpoints/Watcher/AckWatch.php b/src/Elasticsearch/Endpoints/Watcher/AckWatch.php index a110e05fd..8956f6abe 100644 --- a/src/Elasticsearch/Endpoints/Watcher/AckWatch.php +++ b/src/Elasticsearch/Endpoints/Watcher/AckWatch.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Watcher; diff --git a/src/Elasticsearch/Endpoints/Watcher/ActivateWatch.php b/src/Elasticsearch/Endpoints/Watcher/ActivateWatch.php index 0b30741ef..aacda7142 100644 --- a/src/Elasticsearch/Endpoints/Watcher/ActivateWatch.php +++ b/src/Elasticsearch/Endpoints/Watcher/ActivateWatch.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Watcher; diff --git a/src/Elasticsearch/Endpoints/Watcher/DeactivateWatch.php b/src/Elasticsearch/Endpoints/Watcher/DeactivateWatch.php index a17c58072..ca09b62c8 100644 --- a/src/Elasticsearch/Endpoints/Watcher/DeactivateWatch.php +++ b/src/Elasticsearch/Endpoints/Watcher/DeactivateWatch.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Watcher; diff --git a/src/Elasticsearch/Endpoints/Watcher/DeleteWatch.php b/src/Elasticsearch/Endpoints/Watcher/DeleteWatch.php index 95a7ced53..b62dd2c8f 100644 --- a/src/Elasticsearch/Endpoints/Watcher/DeleteWatch.php +++ b/src/Elasticsearch/Endpoints/Watcher/DeleteWatch.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Watcher; diff --git a/src/Elasticsearch/Endpoints/Watcher/ExecuteWatch.php b/src/Elasticsearch/Endpoints/Watcher/ExecuteWatch.php index e273685ce..f7dae45fb 100644 --- a/src/Elasticsearch/Endpoints/Watcher/ExecuteWatch.php +++ b/src/Elasticsearch/Endpoints/Watcher/ExecuteWatch.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Watcher; diff --git a/src/Elasticsearch/Endpoints/Watcher/GetWatch.php b/src/Elasticsearch/Endpoints/Watcher/GetWatch.php index b99f6ba25..22d13fb56 100644 --- a/src/Elasticsearch/Endpoints/Watcher/GetWatch.php +++ b/src/Elasticsearch/Endpoints/Watcher/GetWatch.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Watcher; diff --git a/src/Elasticsearch/Endpoints/Watcher/PutWatch.php b/src/Elasticsearch/Endpoints/Watcher/PutWatch.php index 7eb7ea278..189ac3fdc 100644 --- a/src/Elasticsearch/Endpoints/Watcher/PutWatch.php +++ b/src/Elasticsearch/Endpoints/Watcher/PutWatch.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Watcher; diff --git a/src/Elasticsearch/Endpoints/Watcher/Start.php b/src/Elasticsearch/Endpoints/Watcher/Start.php index ddfb0fa36..6dcaa0a2a 100644 --- a/src/Elasticsearch/Endpoints/Watcher/Start.php +++ b/src/Elasticsearch/Endpoints/Watcher/Start.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Watcher; diff --git a/src/Elasticsearch/Endpoints/Watcher/Stats.php b/src/Elasticsearch/Endpoints/Watcher/Stats.php index 65c4227d4..26f535d0a 100644 --- a/src/Elasticsearch/Endpoints/Watcher/Stats.php +++ b/src/Elasticsearch/Endpoints/Watcher/Stats.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Watcher; diff --git a/src/Elasticsearch/Endpoints/Watcher/Stop.php b/src/Elasticsearch/Endpoints/Watcher/Stop.php index b91012293..8028b2fb3 100644 --- a/src/Elasticsearch/Endpoints/Watcher/Stop.php +++ b/src/Elasticsearch/Endpoints/Watcher/Stop.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Watcher; diff --git a/src/Elasticsearch/Endpoints/Xpack/Info.php b/src/Elasticsearch/Endpoints/Xpack/Info.php index c503d60f9..e89cdb48f 100644 --- a/src/Elasticsearch/Endpoints/Xpack/Info.php +++ b/src/Elasticsearch/Endpoints/Xpack/Info.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Xpack; diff --git a/src/Elasticsearch/Endpoints/Xpack/Usage.php b/src/Elasticsearch/Endpoints/Xpack/Usage.php index 93bf620b6..81e49efc4 100644 --- a/src/Elasticsearch/Endpoints/Xpack/Usage.php +++ b/src/Elasticsearch/Endpoints/Xpack/Usage.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Endpoints\Xpack; diff --git a/src/Elasticsearch/Namespaces/AsyncSearchNamespace.php b/src/Elasticsearch/Namespaces/AsyncSearchNamespace.php index bf8e3eafd..db590cf2a 100644 --- a/src/Elasticsearch/Namespaces/AsyncSearchNamespace.php +++ b/src/Elasticsearch/Namespaces/AsyncSearchNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -29,9 +28,9 @@ class AsyncSearchNamespace extends AbstractNamespace /** * $params['id'] = (string) The async search ID * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html */ public function delete(array $params = []) { @@ -50,9 +49,9 @@ public function delete(array $params = []) * $params['keep_alive'] = (time) Specify the time interval in which the results (partial or final) for this search will be available * $params['typed_keys'] = (boolean) Specify whether aggregation and suggester names should be prefixed by their respective types in the response * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html */ public function get(array $params = []) { @@ -110,9 +109,9 @@ public function get(array $params = []) * $params['max_concurrent_shard_requests'] = (number) The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests (Default = 5) * $params['body'] = (array) The search definition using the Query DSL * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html */ public function submit(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/AutoscalingNamespace.php b/src/Elasticsearch/Namespaces/AutoscalingNamespace.php index 8f761fdd3..f0838e398 100644 --- a/src/Elasticsearch/Namespaces/AutoscalingNamespace.php +++ b/src/Elasticsearch/Namespaces/AutoscalingNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -29,11 +28,12 @@ class AutoscalingNamespace extends AbstractNamespace /** * $params['name'] = (string) the name of the autoscaling policy * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-delete-autoscaling-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-delete-autoscaling-policy.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function deleteAutoscalingPolicy(array $params = []) { @@ -58,11 +58,12 @@ public function getAutoscalingDecision(array $params = []) /** * $params['name'] = (string) the name of the autoscaling policy * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-policy.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function getAutoscalingPolicy(array $params = []) { @@ -79,11 +80,12 @@ public function getAutoscalingPolicy(array $params = []) * $params['name'] = (string) the name of the autoscaling policy * $params['body'] = (array) the specification of the autoscaling policy (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-put-autoscaling-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-put-autoscaling-policy.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function putAutoscalingPolicy(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/CatNamespace.php b/src/Elasticsearch/Namespaces/CatNamespace.php index f528c46d8..59a3b9540 100644 --- a/src/Elasticsearch/Namespaces/CatNamespace.php +++ b/src/Elasticsearch/Namespaces/CatNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -36,9 +35,9 @@ class CatNamespace extends AbstractNamespace * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = all) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html */ public function aliases(array $params = []) { @@ -62,9 +61,9 @@ public function aliases(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html */ public function allocation(array $params = []) { @@ -85,9 +84,9 @@ public function allocation(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html */ public function count(array $params = []) { @@ -109,9 +108,9 @@ public function count(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html */ public function fielddata(array $params = []) { @@ -133,9 +132,9 @@ public function fielddata(array $params = []) * $params['ts'] = (boolean) Set to false to disable timestamping (Default = true) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html */ public function health(array $params = []) { @@ -150,9 +149,9 @@ public function health(array $params = []) * $params['help'] = (boolean) Return help information (Default = false) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html */ public function help(array $params = []) { @@ -179,9 +178,9 @@ public function help(array $params = []) * $params['include_unloaded_segments'] = (boolean) If set to true segment stats will include stats for segments that are not currently loaded into memory (Default = false) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = all) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html */ public function indices(array $params = []) { @@ -203,9 +202,9 @@ public function indices(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html */ public function master(array $params = []) { @@ -225,9 +224,9 @@ public function master(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html */ public function nodeattrs(array $params = []) { @@ -250,9 +249,9 @@ public function nodeattrs(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html */ public function nodes(array $params = []) { @@ -273,9 +272,9 @@ public function nodes(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html */ public function pendingTasks(array $params = []) { @@ -295,9 +294,9 @@ public function pendingTasks(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html */ public function plugins(array $params = []) { @@ -320,9 +319,9 @@ public function plugins(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html */ public function recovery(array $params = []) { @@ -344,9 +343,9 @@ public function recovery(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html */ public function repositories(array $params = []) { @@ -366,9 +365,9 @@ public function repositories(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html */ public function segments(array $params = []) { @@ -393,9 +392,9 @@ public function segments(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html */ public function shards(array $params = []) { @@ -419,9 +418,9 @@ public function shards(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html */ public function snapshots(array $params = []) { @@ -446,9 +445,9 @@ public function snapshots(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html */ public function tasks(array $params = []) { @@ -469,9 +468,9 @@ public function tasks(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html */ public function templates(array $params = []) { @@ -495,9 +494,9 @@ public function templates(array $params = []) * $params['s'] = (list) Comma-separated list of column names or column aliases to sort by * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html */ public function threadPool(array $params = []) { @@ -521,9 +520,9 @@ public function threadPool(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html + * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html */ public function mlDataFrameAnalytics(array $params = []) { @@ -546,9 +545,9 @@ public function mlDataFrameAnalytics(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html + * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html */ public function mlDatafeeds(array $params = []) { @@ -572,9 +571,9 @@ public function mlDatafeeds(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html + * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html */ public function mlJobs(array $params = []) { @@ -600,9 +599,9 @@ public function mlJobs(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html */ public function mlTrainedModels(array $params = []) { @@ -627,9 +626,9 @@ public function mlTrainedModels(array $params = []) * $params['time'] = (enum) The unit in which to display time values (Options = d,h,m,s,ms,micros,nanos) * $params['v'] = (boolean) Verbose mode. Display column headers (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html */ public function transforms(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/CcrNamespace.php b/src/Elasticsearch/Namespaces/CcrNamespace.php index 2a5a25521..f33e7611a 100644 --- a/src/Elasticsearch/Namespaces/CcrNamespace.php +++ b/src/Elasticsearch/Namespaces/CcrNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -29,9 +28,9 @@ class CcrNamespace extends AbstractNamespace /** * $params['name'] = (string) The name of the auto follow pattern. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-delete-auto-follow-pattern.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-delete-auto-follow-pattern.html */ public function deleteAutoFollowPattern(array $params = []) { @@ -49,9 +48,9 @@ public function deleteAutoFollowPattern(array $params = []) * $params['wait_for_active_shards'] = (string) Sets the number of shard copies that must be active before returning. Defaults to 0. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1) (Default = 0) * $params['body'] = (array) The name of the leader index and other optional ccr related parameters (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-follow.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-follow.html */ public function follow(array $params = []) { @@ -69,9 +68,9 @@ public function follow(array $params = []) /** * $params['index'] = (list) A comma-separated list of index patterns; use `_all` to perform the operation on all indices * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-info.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-info.html */ public function followInfo(array $params = []) { @@ -87,9 +86,9 @@ public function followInfo(array $params = []) /** * $params['index'] = (list) A comma-separated list of index patterns; use `_all` to perform the operation on all indices * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-stats.html */ public function followStats(array $params = []) { @@ -106,9 +105,9 @@ public function followStats(array $params = []) * $params['index'] = (string) the name of the leader index for which specified follower retention leases should be removed * $params['body'] = (array) the name and UUID of the follower index, the name of the cluster containing the follower index, and the alias from the perspective of that cluster for the remote cluster containing the leader index (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-forget-follower.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-forget-follower.html */ public function forgetFollower(array $params = []) { @@ -126,9 +125,9 @@ public function forgetFollower(array $params = []) /** * $params['name'] = (string) The name of the auto follow pattern. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-auto-follow-pattern.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-auto-follow-pattern.html */ public function getAutoFollowPattern(array $params = []) { @@ -144,9 +143,9 @@ public function getAutoFollowPattern(array $params = []) /** * $params['name'] = (string) The name of the auto follow pattern that should pause discovering new indices to follow. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-pause-auto-follow-pattern.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-pause-auto-follow-pattern.html */ public function pauseAutoFollowPattern(array $params = []) { @@ -162,9 +161,9 @@ public function pauseAutoFollowPattern(array $params = []) /** * $params['index'] = (string) The name of the follower index that should pause following its leader index. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-pause-follow.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-pause-follow.html */ public function pauseFollow(array $params = []) { @@ -181,9 +180,9 @@ public function pauseFollow(array $params = []) * $params['name'] = (string) The name of the auto follow pattern. * $params['body'] = (array) The specification of the auto follow pattern (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-auto-follow-pattern.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-auto-follow-pattern.html */ public function putAutoFollowPattern(array $params = []) { @@ -201,9 +200,9 @@ public function putAutoFollowPattern(array $params = []) /** * $params['name'] = (string) The name of the auto follow pattern to resume discovering new indices to follow. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-resume-auto-follow-pattern.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-resume-auto-follow-pattern.html */ public function resumeAutoFollowPattern(array $params = []) { @@ -220,9 +219,9 @@ public function resumeAutoFollowPattern(array $params = []) * $params['index'] = (string) The name of the follow index to resume following. * $params['body'] = (array) The name of the leader index and other optional ccr related parameters * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-resume-follow.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-resume-follow.html */ public function resumeFollow(array $params = []) { @@ -249,9 +248,9 @@ public function stats(array $params = []) /** * $params['index'] = (string) The name of the follower index that should be turned into a regular index. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html */ public function unfollow(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/ClusterNamespace.php b/src/Elasticsearch/Namespaces/ClusterNamespace.php index 9ad865544..a68960d40 100644 --- a/src/Elasticsearch/Namespaces/ClusterNamespace.php +++ b/src/Elasticsearch/Namespaces/ClusterNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -31,9 +30,9 @@ class ClusterNamespace extends AbstractNamespace * $params['include_disk_info'] = (boolean) Return information about disk usage and shard sizes (default: false) * $params['body'] = (array) The index, shard, and primary flag to explain. Empty means 'explain the first unassigned shard' * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html */ public function allocationExplain(array $params = []) { @@ -51,11 +50,12 @@ public function allocationExplain(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function deleteComponentTemplate(array $params = []) { @@ -71,9 +71,9 @@ public function deleteComponentTemplate(array $params = []) /** * $params['wait_for_removal'] = (boolean) Specifies whether to wait for all excluded nodes to be removed from the cluster before clearing the voting configuration exclusions list. (Default = true) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html */ public function deleteVotingConfigExclusions(array $params = []) { @@ -89,11 +89,12 @@ public function deleteVotingConfigExclusions(array $params = []) * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function existsComponentTemplate(array $params = []): bool { @@ -114,11 +115,12 @@ public function existsComponentTemplate(array $params = []): bool * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function getComponentTemplate(array $params = []) { @@ -137,9 +139,9 @@ public function getComponentTemplate(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['include_defaults'] = (boolean) Whether to return all default clusters setting. (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html */ public function getSettings(array $params = []) { @@ -164,9 +166,9 @@ public function getSettings(array $params = []) * $params['wait_for_no_initializing_shards'] = (boolean) Whether to wait until there are no initializing shards in the cluster * $params['wait_for_status'] = (enum) Wait until cluster is in a specific state (Options = green,yellow,red) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html */ public function health(array $params = []) { @@ -183,9 +185,9 @@ public function health(array $params = []) * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html */ public function pendingTasks(array $params = []) { @@ -201,9 +203,9 @@ public function pendingTasks(array $params = []) * $params['node_names'] = (string) A comma-separated list of the names of the nodes to exclude from the voting configuration. If specified, you may not also specify ?node_ids. * $params['timeout'] = (time) Explicit operation timeout (Default = 30s) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html */ public function postVotingConfigExclusions(array $params = []) { @@ -221,11 +223,12 @@ public function postVotingConfigExclusions(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) The template definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function putComponentTemplate(array $params = []) { @@ -246,9 +249,9 @@ public function putComponentTemplate(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['body'] = (array) The settings to be updated. Can be either `transient` or `persistent` (survives cluster restart). (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html */ public function putSettings(array $params = []) { @@ -263,9 +266,9 @@ public function putSettings(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html */ public function remoteInfo(array $params = []) { @@ -285,9 +288,9 @@ public function remoteInfo(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['body'] = (array) The definition of `commands` to perform (`move`, `cancel`, `allocate`) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html */ public function reroute(array $params = []) { @@ -312,9 +315,9 @@ public function reroute(array $params = []) * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html */ public function state(array $params = []) { @@ -334,9 +337,9 @@ public function state(array $params = []) * $params['flat_settings'] = (boolean) Return settings in flat format (default: false) * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html */ public function stats(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/DanglingIndicesNamespace.php b/src/Elasticsearch/Namespaces/DanglingIndicesNamespace.php index 7176d2cd5..8ba7baa45 100644 --- a/src/Elasticsearch/Namespaces/DanglingIndicesNamespace.php +++ b/src/Elasticsearch/Namespaces/DanglingIndicesNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -32,9 +31,9 @@ class DanglingIndicesNamespace extends AbstractNamespace * $params['timeout'] = (time) Explicit operation timeout * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html */ public function deleteDanglingIndex(array $params = []) { @@ -53,9 +52,9 @@ public function deleteDanglingIndex(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html */ public function importDanglingIndex(array $params = []) { @@ -70,9 +69,9 @@ public function importDanglingIndex(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html */ public function listDanglingIndices(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/DataFrameTransformDeprecatedNamespace.php b/src/Elasticsearch/Namespaces/DataFrameTransformDeprecatedNamespace.php index 969100a52..b74cfeee6 100644 --- a/src/Elasticsearch/Namespaces/DataFrameTransformDeprecatedNamespace.php +++ b/src/Elasticsearch/Namespaces/DataFrameTransformDeprecatedNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -30,11 +29,12 @@ class DataFrameTransformDeprecatedNamespace extends AbstractNamespace * $params['transform_id'] = (string) The id of the transform to delete * $params['force'] = (boolean) When `true`, the transform is deleted regardless of its current state. The default value is `false`, meaning that the transform must be `stopped` before it can be deleted. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html * * @note This API is BETA and may change in ways that are not backwards compatible + * */ public function deleteTransform(array $params = []) { @@ -53,11 +53,12 @@ public function deleteTransform(array $params = []) * $params['size'] = (int) specifies a max number of transforms to get, defaults to 100 * $params['allow_no_match'] = (boolean) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html * * @note This API is BETA and may change in ways that are not backwards compatible + * */ public function getTransform(array $params = []) { @@ -76,11 +77,12 @@ public function getTransform(array $params = []) * $params['size'] = (number) specifies a max number of transform stats to get, defaults to 100 * $params['allow_no_match'] = (boolean) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html * * @note This API is BETA and may change in ways that are not backwards compatible + * */ public function getTransformStats(array $params = []) { @@ -109,11 +111,12 @@ public function previewTransform(array $params = []) * $params['defer_validation'] = (boolean) If validations should be deferred until transform starts, defaults to false. * $params['body'] = (array) The transform definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html * * @note This API is BETA and may change in ways that are not backwards compatible + * */ public function putTransform(array $params = []) { @@ -132,11 +135,12 @@ public function putTransform(array $params = []) * $params['transform_id'] = (string) The id of the transform to start * $params['timeout'] = (time) Controls the time to wait for the transform to start * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html * * @note This API is BETA and may change in ways that are not backwards compatible + * */ public function startTransform(array $params = []) { @@ -155,11 +159,12 @@ public function startTransform(array $params = []) * $params['timeout'] = (time) Controls the time to wait until the transform has stopped. Default to 30 seconds * $params['allow_no_match'] = (boolean) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html * * @note This API is BETA and may change in ways that are not backwards compatible + * */ public function stopTransform(array $params = []) { @@ -177,11 +182,12 @@ public function stopTransform(array $params = []) * $params['defer_validation'] = (boolean) If validations should be deferred until transform starts, defaults to false. * $params['body'] = (array) The update transform definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html * * @note This API is BETA and may change in ways that are not backwards compatible + * */ public function updateTransform(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/EnrichNamespace.php b/src/Elasticsearch/Namespaces/EnrichNamespace.php index 156c3965d..5a73d0d6a 100644 --- a/src/Elasticsearch/Namespaces/EnrichNamespace.php +++ b/src/Elasticsearch/Namespaces/EnrichNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -29,9 +28,9 @@ class EnrichNamespace extends AbstractNamespace /** * $params['name'] = (string) The name of the enrich policy * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html */ public function deletePolicy(array $params = []) { @@ -48,9 +47,9 @@ public function deletePolicy(array $params = []) * $params['name'] = (string) The name of the enrich policy * $params['wait_for_completion'] = (boolean) Should the request should block until the execution is complete. (Default = true) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/execute-enrich-policy-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/execute-enrich-policy-api.html */ public function executePolicy(array $params = []) { @@ -66,9 +65,9 @@ public function executePolicy(array $params = []) /** * $params['name'] = (list) A comma-separated list of enrich policy names * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html */ public function getPolicy(array $params = []) { @@ -85,9 +84,9 @@ public function getPolicy(array $params = []) * $params['name'] = (string) The name of the enrich policy * $params['body'] = (array) The enrich policy to register (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-enrich-policy-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-enrich-policy-api.html */ public function putPolicy(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/EqlNamespace.php b/src/Elasticsearch/Namespaces/EqlNamespace.php index f17693aa9..2aa56950f 100644 --- a/src/Elasticsearch/Namespaces/EqlNamespace.php +++ b/src/Elasticsearch/Namespaces/EqlNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -29,11 +28,12 @@ class EqlNamespace extends AbstractNamespace /** * $params['id'] = (string) The async search ID * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html * * @note This API is BETA and may change in ways that are not backwards compatible + * */ public function delete(array $params = []) { @@ -51,11 +51,12 @@ public function delete(array $params = []) * $params['wait_for_completion_timeout'] = (time) Specify the time that the request should block waiting for the final response * $params['keep_alive'] = (time) Update the time interval in which the results (partial or final) for this search will be available (Default = 5d) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html * * @note This API is BETA and may change in ways that are not backwards compatible + * */ public function get(array $params = []) { @@ -75,11 +76,12 @@ public function get(array $params = []) * $params['keep_alive'] = (time) Update the time interval in which the results (partial or final) for this search will be available (Default = 5d) * $params['body'] = (array) Eql request body. Use the `query` to limit the query scope. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html * * @note This API is BETA and may change in ways that are not backwards compatible + * */ public function search(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/GraphNamespace.php b/src/Elasticsearch/Namespaces/GraphNamespace.php index 6f34621f5..525198894 100644 --- a/src/Elasticsearch/Namespaces/GraphNamespace.php +++ b/src/Elasticsearch/Namespaces/GraphNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -33,9 +32,9 @@ class GraphNamespace extends AbstractNamespace * $params['timeout'] = (time) Explicit operation timeout * $params['body'] = (array) Graph Query DSL * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html */ public function explore(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/IlmNamespace.php b/src/Elasticsearch/Namespaces/IlmNamespace.php index 8bd8e9c6d..c60f059c5 100644 --- a/src/Elasticsearch/Namespaces/IlmNamespace.php +++ b/src/Elasticsearch/Namespaces/IlmNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -29,9 +28,9 @@ class IlmNamespace extends AbstractNamespace /** * $params['policy'] = (string) The name of the index lifecycle policy * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-delete-lifecycle.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-delete-lifecycle.html */ public function deleteLifecycle(array $params = []) { @@ -49,9 +48,9 @@ public function deleteLifecycle(array $params = []) * $params['only_managed'] = (boolean) filters the indices included in the response to ones managed by ILM * $params['only_errors'] = (boolean) filters the indices included in the response to ones in an ILM error state, implies only_managed * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-explain-lifecycle.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-explain-lifecycle.html */ public function explainLifecycle(array $params = []) { @@ -67,9 +66,9 @@ public function explainLifecycle(array $params = []) /** * $params['policy'] = (string) The name of the index lifecycle policy * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-lifecycle.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-lifecycle.html */ public function getLifecycle(array $params = []) { @@ -84,9 +83,9 @@ public function getLifecycle(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-status.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-status.html */ public function getStatus(array $params = []) { @@ -101,9 +100,9 @@ public function getStatus(array $params = []) * $params['index'] = (string) The name of the index whose lifecycle step is to change * $params['body'] = (array) The new lifecycle step to move to * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-move-to-step.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-move-to-step.html */ public function moveToStep(array $params = []) { @@ -122,9 +121,9 @@ public function moveToStep(array $params = []) * $params['policy'] = (string) The name of the index lifecycle policy * $params['body'] = (array) The lifecycle policy definition to register * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-put-lifecycle.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-put-lifecycle.html */ public function putLifecycle(array $params = []) { @@ -142,9 +141,9 @@ public function putLifecycle(array $params = []) /** * $params['index'] = (string) The name of the index to remove policy on * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-remove-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-remove-policy.html */ public function removePolicy(array $params = []) { @@ -160,9 +159,9 @@ public function removePolicy(array $params = []) /** * $params['index'] = (string) The name of the indices (comma-separated) whose failed lifecycle step is to be retry * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-retry-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-retry-policy.html */ public function retry(array $params = []) { @@ -177,9 +176,9 @@ public function retry(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-start.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-start.html */ public function start(array $params = []) { @@ -192,9 +191,9 @@ public function start(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-stop.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-stop.html */ public function stop(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/IndicesNamespace.php b/src/Elasticsearch/Namespaces/IndicesNamespace.php index 79eac1a41..60ad7c9cb 100644 --- a/src/Elasticsearch/Namespaces/IndicesNamespace.php +++ b/src/Elasticsearch/Namespaces/IndicesNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -35,9 +34,9 @@ class IndicesNamespace extends AbstractNamespace * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-blocks.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-blocks.html */ public function addBlock(array $params = []) { @@ -56,9 +55,9 @@ public function addBlock(array $params = []) * $params['index'] = (string) The name of the index to scope the operation * $params['body'] = (array) Define analyzer/tokenizer parameters and the text on which the analysis should be performed * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html */ public function analyze(array $params = []) { @@ -83,9 +82,9 @@ public function analyze(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * $params['request'] = (boolean) Clear request cache * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html */ public function clearCache(array $params = []) { @@ -106,9 +105,9 @@ public function clearCache(array $params = []) * $params['wait_for_active_shards'] = (string) Set the number of active shards to wait for on the cloned index before the operation returns. * $params['body'] = (array) The configuration for the target index (`settings` and `aliases`) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html */ public function clone(array $params = []) { @@ -134,9 +133,9 @@ public function clone(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * $params['wait_for_active_shards'] = (string) Sets the number of active shards to wait for before the operation returns. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html */ public function close(array $params = []) { @@ -157,9 +156,9 @@ public function close(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) The configuration for the index (`settings` and `mappings`) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html */ public function create(array $params = []) { @@ -174,51 +173,6 @@ public function create(array $params = []) return $this->performRequest($endpoint); } - /** - * $params['name'] = (string) The name of the data stream - * $params['body'] = (array) The data stream definition - * - * @param array $params Associative array of parameters - * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html - * - * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - */ - public function createDataStream(array $params = []) - { - $name = $this->extractArgument($params, 'name'); - $body = $this->extractArgument($params, 'body'); - - $endpointBuilder = $this->endpoints; - $endpoint = $endpointBuilder('Indices\CreateDataStream'); - $endpoint->setParams($params); - $endpoint->setName($name); - $endpoint->setBody($body); - - return $this->performRequest($endpoint); - } - /** - * $params['name'] = (list) A comma-separated list of data stream names; use `_all` or empty string to perform the operation on all data streams - * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) - * $params['forbid_closed_indices'] = (boolean) If set to false stats will also collected from closed indices if explicitly specified or if expand_wildcards expands to closed indices (Default = true) - * - * @param array $params Associative array of parameters - * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html - * - * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - */ - public function dataStreamsStats(array $params = []) - { - $name = $this->extractArgument($params, 'name'); - - $endpointBuilder = $this->endpoints; - $endpoint = $endpointBuilder('Indices\DataStreamsStats'); - $endpoint->setParams($params); - $endpoint->setName($name); - - return $this->performRequest($endpoint); - } /** * $params['index'] = (list) A comma-separated list of indices to delete; use `_all` or `*` string to delete all indices * $params['timeout'] = (time) Explicit operation timeout @@ -227,9 +181,9 @@ public function dataStreamsStats(array $params = []) * $params['allow_no_indices'] = (boolean) Ignore if a wildcard expression resolves to no concrete indices (default: false) * $params['expand_wildcards'] = (enum) Whether wildcard expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html */ public function delete(array $params = []) { @@ -248,9 +202,9 @@ public function delete(array $params = []) * $params['timeout'] = (time) Explicit timestamp for the document * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html */ public function deleteAlias(array $params = []) { @@ -265,36 +219,17 @@ public function deleteAlias(array $params = []) return $this->performRequest($endpoint); } - /** - * $params['name'] = (list) A comma-separated list of data streams to delete; use `*` to delete all data streams - * - * @param array $params Associative array of parameters - * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html - * - * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - */ - public function deleteDataStream(array $params = []) - { - $name = $this->extractArgument($params, 'name'); - - $endpointBuilder = $this->endpoints; - $endpoint = $endpointBuilder('Indices\DeleteDataStream'); - $endpoint->setParams($params); - $endpoint->setName($name); - - return $this->performRequest($endpoint); - } /** * $params['name'] = (string) The name of the template * $params['timeout'] = (time) Explicit operation timeout * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function deleteIndexTemplate(array $params = []) { @@ -312,9 +247,9 @@ public function deleteIndexTemplate(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html */ public function deleteTemplate(array $params = []) { @@ -336,9 +271,9 @@ public function deleteTemplate(array $params = []) * $params['flat_settings'] = (boolean) Return settings in flat format (default: false) * $params['include_defaults'] = (boolean) Whether to return all default setting for each of the indices. (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html */ public function exists(array $params = []): bool { @@ -362,9 +297,9 @@ public function exists(array $params = []): bool * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = all) * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html */ public function existsAlias(array $params = []): bool { @@ -388,11 +323,12 @@ public function existsAlias(array $params = []): bool * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function existsIndexTemplate(array $params = []): bool { @@ -414,9 +350,9 @@ public function existsIndexTemplate(array $params = []): bool * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html */ public function existsTemplate(array $params = []): bool { @@ -440,9 +376,9 @@ public function existsTemplate(array $params = []): bool * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html */ public function existsType(array $params = []): bool { @@ -468,9 +404,9 @@ public function existsType(array $params = []): bool * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html */ public function flush(array $params = []) { @@ -489,9 +425,9 @@ public function flush(array $params = []) * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html */ public function flushSynced(array $params = []) { @@ -513,9 +449,9 @@ public function flushSynced(array $params = []) * $params['max_num_segments'] = (number) The number of segments the index should be merged into (default: dynamic) * $params['only_expunge_deletes'] = (boolean) Specify whether the operation should only expunge deleted documents * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html */ public function forcemerge(array $params = []) { @@ -539,9 +475,9 @@ public function forcemerge(array $params = []) * $params['include_defaults'] = (boolean) Whether to return all default setting for each of the indices. (Default = false) * $params['master_timeout'] = (time) Specify timeout for connection to master * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html */ public function get(array $params = []) { @@ -562,9 +498,9 @@ public function get(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = all) * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html */ public function getAlias(array $params = []) { @@ -579,26 +515,6 @@ public function getAlias(array $params = []) return $this->performRequest($endpoint); } - /** - * $params['name'] = (list) A comma-separated list of data streams to get; use `*` to get all data streams - * - * @param array $params Associative array of parameters - * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html - * - * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release - */ - public function getDataStream(array $params = []) - { - $name = $this->extractArgument($params, 'name'); - - $endpointBuilder = $this->endpoints; - $endpoint = $endpointBuilder('Indices\GetDataStream'); - $endpoint->setParams($params); - $endpoint->setName($name); - - return $this->performRequest($endpoint); - } /** * $params['fields'] = (list) A comma-separated list of fields (Required) * $params['index'] = (list) A comma-separated list of index names @@ -610,9 +526,9 @@ public function getDataStream(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html */ public function getFieldMapping(array $params = []) { @@ -635,11 +551,12 @@ public function getFieldMapping(array $params = []) * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function getIndexTemplate(array $params = []) { @@ -662,9 +579,9 @@ public function getIndexTemplate(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html */ public function getMapping(array $params = []) { @@ -690,9 +607,9 @@ public function getMapping(array $params = []) * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * $params['include_defaults'] = (boolean) Whether to return all default setting for each of the indices. (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html */ public function getSettings(array $params = []) { @@ -714,9 +631,9 @@ public function getSettings(array $params = []) * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html */ public function getTemplate(array $params = []) { @@ -735,9 +652,9 @@ public function getTemplate(array $params = []) * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html */ public function getUpgrade(array $params = []) { @@ -759,9 +676,9 @@ public function getUpgrade(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = closed) * $params['wait_for_active_shards'] = (string) Sets the number of active shards to wait for before the operation returns. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html */ public function open(array $params = []) { @@ -781,9 +698,9 @@ public function open(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) The settings for the alias, such as `routing` or `filter` * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html */ public function putAlias(array $params = []) { @@ -807,11 +724,12 @@ public function putAlias(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) The template definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function putIndexTemplate(array $params = []) { @@ -838,9 +756,9 @@ public function putIndexTemplate(array $params = []) * $params['write_index_only'] = (boolean) When true, applies mappings only to the write index of an alias or data stream (Default = false) * $params['body'] = (array) The mapping definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html */ public function putMapping(array $params = []) { @@ -868,9 +786,9 @@ public function putMapping(array $params = []) * $params['flat_settings'] = (boolean) Return settings in flat format (default: false) * $params['body'] = (array) The index settings to be updated (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html */ public function putSettings(array $params = []) { @@ -893,9 +811,9 @@ public function putSettings(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) The template definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html */ public function putTemplate(array $params = []) { @@ -915,9 +833,9 @@ public function putTemplate(array $params = []) * $params['detailed'] = (boolean) Whether to display detailed information about shard recovery (Default = false) * $params['active_only'] = (boolean) Display only those recoveries that are currently on-going (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html */ public function recovery(array $params = []) { @@ -936,9 +854,9 @@ public function recovery(array $params = []) * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html */ public function refresh(array $params = []) { @@ -955,11 +873,12 @@ public function refresh(array $params = []) * $params['name'] = (list) A comma-separated list of names or wildcard expressions * $params['expand_wildcards'] = (enum) Whether wildcard expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function resolveIndex(array $params = []) { @@ -982,9 +901,9 @@ public function resolveIndex(array $params = []) * $params['wait_for_active_shards'] = (string) Set the number of active shards to wait for on the newly created rollover index before the operation returns. * $params['body'] = (array) The conditions that needs to be met for executing rollover * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html */ public function rollover(array $params = []) { @@ -1008,9 +927,9 @@ public function rollover(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * $params['verbose'] = (boolean) Includes detailed memory usage by Lucene. (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html */ public function segments(array $params = []) { @@ -1030,9 +949,9 @@ public function segments(array $params = []) * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html */ public function shardStores(array $params = []) { @@ -1054,9 +973,9 @@ public function shardStores(array $params = []) * $params['wait_for_active_shards'] = (string) Set the number of active shards to wait for on the shrunken index before the operation returns. * $params['body'] = (array) The configuration for the target index (`settings` and `aliases`) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html */ public function shrink(array $params = []) { @@ -1080,11 +999,12 @@ public function shrink(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) New index template definition, which will be included in the simulation, as if it already exists in the system * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function simulateIndexTemplate(array $params = []) { @@ -1106,11 +1026,12 @@ public function simulateIndexTemplate(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) New index template definition to be simulated, if no index template name is specified * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function simulateTemplate(array $params = []) { @@ -1134,9 +1055,9 @@ public function simulateTemplate(array $params = []) * $params['wait_for_active_shards'] = (string) Set the number of active shards to wait for on the shrunken index before the operation returns. * $params['body'] = (array) The configuration for the target index (`settings` and `aliases`) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-split-index.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-split-index.html */ public function split(array $params = []) { @@ -1167,9 +1088,9 @@ public function split(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * $params['forbid_closed_indices'] = (boolean) If set to false stats will also collected from closed indices if explicitly specified or if expand_wildcards expands to closed indices (Default = true) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-stats.html */ public function stats(array $params = []) { @@ -1189,9 +1110,9 @@ public function stats(array $params = []) * $params['master_timeout'] = (time) Specify timeout for connection to master * $params['body'] = (array) The definition of `actions` to perform (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html */ public function updateAliases(array $params = []) { @@ -1212,9 +1133,9 @@ public function updateAliases(array $params = []) * $params['wait_for_completion'] = (boolean) Specify whether the request should block until the all segments are upgraded (default: false) * $params['only_ancient_segments'] = (boolean) If true, only ancient (an older Lucene major release) segments will be upgraded * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html */ public function upgrade(array $params = []) { @@ -1244,9 +1165,9 @@ public function upgrade(array $params = []) * $params['all_shards'] = (boolean) Execute validation on all shards instead of one random shard per index * $params['body'] = (array) The query definition specified with the Query DSL * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/search-validate.html */ public function validateQuery(array $params = []) { @@ -1263,6 +1184,60 @@ public function validateQuery(array $params = []) return $this->performRequest($endpoint); } + /** + * $params['name'] = (string) The name of the data stream + * + * @param array $params Associative array of parameters + * @return array + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html + */ + public function createDataStream(array $params = []) + { + $name = $this->extractArgument($params, 'name'); + + $endpointBuilder = $this->endpoints; + $endpoint = $endpointBuilder('Indices\CreateDataStream'); + $endpoint->setParams($params); + $endpoint->setName($name); + + return $this->performRequest($endpoint); + } + /** + * $params['name'] = (list) A comma-separated list of data stream names; use `_all` or empty string to perform the operation on all data streams + * + * @param array $params Associative array of parameters + * @return array + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html + */ + public function dataStreamsStats(array $params = []) + { + $name = $this->extractArgument($params, 'name'); + + $endpointBuilder = $this->endpoints; + $endpoint = $endpointBuilder('Indices\DataStreamsStats'); + $endpoint->setParams($params); + $endpoint->setName($name); + + return $this->performRequest($endpoint); + } + /** + * $params['name'] = (list) A comma-separated list of data streams to delete; use `*` to delete all data streams + * + * @param array $params Associative array of parameters + * @return array + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html + */ + public function deleteDataStream(array $params = []) + { + $name = $this->extractArgument($params, 'name'); + + $endpointBuilder = $this->endpoints; + $endpoint = $endpointBuilder('Indices\DeleteDataStream'); + $endpoint->setParams($params); + $endpoint->setName($name); + + return $this->performRequest($endpoint); + } /** * $params['index'] = (string) The name of the index to freeze * $params['timeout'] = (time) Explicit operation timeout @@ -1272,9 +1247,9 @@ public function validateQuery(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = closed) * $params['wait_for_active_shards'] = (string) Sets the number of active shards to wait for before the operation returns. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/freeze-index-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/freeze-index-api.html */ public function freeze(array $params = []) { @@ -1287,15 +1262,33 @@ public function freeze(array $params = []) return $this->performRequest($endpoint); } + /** + * $params['name'] = (list) A comma-separated list of data streams to get; use `*` to get all data streams + * + * @param array $params Associative array of parameters + * @return array + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html + */ + public function getDataStream(array $params = []) + { + $name = $this->extractArgument($params, 'name'); + + $endpointBuilder = $this->endpoints; + $endpoint = $endpointBuilder('Indices\GetDataStream'); + $endpoint->setParams($params); + $endpoint->setName($name); + + return $this->performRequest($endpoint); + } /** * $params['index'] = (list) A comma-separated list of index names to reload analyzers for * $params['ignore_unavailable'] = (boolean) Whether specified concrete indices should be ignored when unavailable (missing or closed) * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-reload-analyzers.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-reload-analyzers.html */ public function reloadSearchAnalyzers(array $params = []) { @@ -1317,9 +1310,9 @@ public function reloadSearchAnalyzers(array $params = []) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,hidden,none,all) (Default = closed) * $params['wait_for_active_shards'] = (string) Sets the number of active shards to wait for before the operation returns. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/unfreeze-index-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/unfreeze-index-api.html */ public function unfreeze(array $params = []) { @@ -1331,12 +1324,12 @@ public function unfreeze(array $params = []) $endpoint->setIndex($index); return $this->performRequest($endpoint); - } + } /** * Alias function to getAlias() * * @deprecated added to prevent BC break introduced in 7.2.0 - * @see https://github.com/elastic/elasticsearch-php/issues/940 + * @see https://github.com/elastic/elasticsearch-php/issues/940 */ public function getAliases(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/IngestNamespace.php b/src/Elasticsearch/Namespaces/IngestNamespace.php index 98cb9f155..3f5565eed 100644 --- a/src/Elasticsearch/Namespaces/IngestNamespace.php +++ b/src/Elasticsearch/Namespaces/IngestNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -31,9 +30,9 @@ class IngestNamespace extends AbstractNamespace * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-pipeline-api.html */ public function deletePipeline(array $params = []) { @@ -50,9 +49,9 @@ public function deletePipeline(array $params = []) * $params['id'] = (string) Comma separated list of pipeline ids. Wildcards supported * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-pipeline-api.html */ public function getPipeline(array $params = []) { @@ -67,9 +66,9 @@ public function getPipeline(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get */ public function processorGrok(array $params = []) { @@ -86,9 +85,9 @@ public function processorGrok(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['body'] = (array) The ingest definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/put-pipeline-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/put-pipeline-api.html */ public function putPipeline(array $params = []) { @@ -108,9 +107,9 @@ public function putPipeline(array $params = []) * $params['verbose'] = (boolean) Verbose mode. Display data output for each processor in executed pipeline (Default = false) * $params['body'] = (array) The simulate definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html */ public function simulate(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/LicenseNamespace.php b/src/Elasticsearch/Namespaces/LicenseNamespace.php index de6da0251..0f0485b4f 100644 --- a/src/Elasticsearch/Namespaces/LicenseNamespace.php +++ b/src/Elasticsearch/Namespaces/LicenseNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -39,9 +38,9 @@ public function delete(array $params = []) * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * $params['accept_enterprise'] = (boolean) If the active license is an enterprise license, return type as 'enterprise' (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-license.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-license.html */ public function get(array $params = []) { @@ -54,9 +53,9 @@ public function get(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-basic-status.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-basic-status.html */ public function getBasicStatus(array $params = []) { @@ -69,9 +68,9 @@ public function getBasicStatus(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-trial-status.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-trial-status.html */ public function getTrialStatus(array $params = []) { @@ -86,9 +85,9 @@ public function getTrialStatus(array $params = []) * $params['acknowledge'] = (boolean) whether the user has acknowledged acknowledge messages (default: false) * $params['body'] = (array) licenses to be installed * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/update-license.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/update-license.html */ public function post(array $params = []) { @@ -104,9 +103,9 @@ public function post(array $params = []) /** * $params['acknowledge'] = (boolean) whether the user has acknowledged acknowledge messages (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/start-basic.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/start-basic.html */ public function postStartBasic(array $params = []) { @@ -121,9 +120,9 @@ public function postStartBasic(array $params = []) * $params['type'] = (string) The type of trial license to generate (default: "trial") * $params['acknowledge'] = (boolean) whether the user has acknowledged acknowledge messages (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trial.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/start-trial.html */ public function postStartTrial(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/MigrationNamespace.php b/src/Elasticsearch/Namespaces/MigrationNamespace.php index 5487b3b33..42485ed90 100644 --- a/src/Elasticsearch/Namespaces/MigrationNamespace.php +++ b/src/Elasticsearch/Namespaces/MigrationNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -29,9 +28,9 @@ class MigrationNamespace extends AbstractNamespace /** * $params['index'] = (string) Index pattern * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-deprecation.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-deprecation.html */ public function deprecations(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/MlNamespace.php b/src/Elasticsearch/Namespaces/MlNamespace.php index f0057e629..c2fec75ba 100644 --- a/src/Elasticsearch/Namespaces/MlNamespace.php +++ b/src/Elasticsearch/Namespaces/MlNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -33,9 +32,9 @@ class MlNamespace extends AbstractNamespace * $params['timeout'] = (time) Controls the time to wait until a job has closed. Default to 30 minutes * $params['body'] = (array) The URL params optionally sent in the body * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html */ public function closeJob(array $params = []) { @@ -53,9 +52,9 @@ public function closeJob(array $params = []) /** * $params['calendar_id'] = (string) The ID of the calendar to delete * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar.html */ public function deleteCalendar(array $params = []) { @@ -72,9 +71,9 @@ public function deleteCalendar(array $params = []) * $params['calendar_id'] = (string) The ID of the calendar to modify * $params['event_id'] = (string) The ID of the event to remove from the calendar * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-event.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-event.html */ public function deleteCalendarEvent(array $params = []) { @@ -93,9 +92,9 @@ public function deleteCalendarEvent(array $params = []) * $params['calendar_id'] = (string) The ID of the calendar to modify * $params['job_id'] = (string) The ID of the job to remove from the calendar * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-calendar-job.html */ public function deleteCalendarJob(array $params = []) { @@ -115,11 +114,12 @@ public function deleteCalendarJob(array $params = []) * $params['force'] = (boolean) True if the job should be forcefully deleted (Default = false) * $params['timeout'] = (time) Controls the time to wait until a job is deleted. Defaults to 1 minute * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-dfanalytics.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-dfanalytics.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function deleteDataFrameAnalytics(array $params = []) { @@ -136,9 +136,9 @@ public function deleteDataFrameAnalytics(array $params = []) * $params['datafeed_id'] = (string) The ID of the datafeed to delete * $params['force'] = (boolean) True if the datafeed should be forcefully deleted * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html */ public function deleteDatafeed(array $params = []) { @@ -157,9 +157,9 @@ public function deleteDatafeed(array $params = []) * $params['timeout'] = (time) How long can the underlying delete processes run until they are canceled * $params['body'] = (array) deleting expired data parameters * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html */ public function deleteExpiredData(array $params = []) { @@ -177,9 +177,9 @@ public function deleteExpiredData(array $params = []) /** * $params['filter_id'] = (string) The ID of the filter to delete * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-filter.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-filter.html */ public function deleteFilter(array $params = []) { @@ -198,9 +198,9 @@ public function deleteFilter(array $params = []) * $params['allow_no_forecasts'] = (boolean) Whether to ignore if `_all` matches no forecasts * $params['timeout'] = (time) Controls the time to wait until the forecast(s) are deleted. Default to 30 seconds * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-forecast.html */ public function deleteForecast(array $params = []) { @@ -220,9 +220,9 @@ public function deleteForecast(array $params = []) * $params['force'] = (boolean) True if the job should be forcefully deleted (Default = false) * $params['wait_for_completion'] = (boolean) Should this request wait until the operation has completed before returning (Default = true) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html */ public function deleteJob(array $params = []) { @@ -239,9 +239,9 @@ public function deleteJob(array $params = []) * $params['job_id'] = (string) The ID of the job to fetch * $params['snapshot_id'] = (string) The ID of the snapshot to delete * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html */ public function deleteModelSnapshot(array $params = []) { @@ -259,11 +259,12 @@ public function deleteModelSnapshot(array $params = []) /** * $params['model_id'] = (string) The ID of the trained model to delete * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-inference.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-inference.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function deleteTrainedModel(array $params = []) { @@ -279,9 +280,9 @@ public function deleteTrainedModel(array $params = []) /** * $params['body'] = (array) The analysis config, plus cardinality estimates for fields it references (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-apis.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-apis.html */ public function estimateModelMemory(array $params = []) { @@ -309,11 +310,12 @@ public function evaluateDataFrame(array $params = []) * $params['id'] = (string) The ID of the data frame analytics to explain * $params['body'] = (array) The data frame analytics config to explain * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html + * @see http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function explainDataFrameAnalytics(array $params = []) { @@ -345,11 +347,12 @@ public function explainDataFrameAnalytics(array $params = []) * $params['explain'] = (boolean) Whether to include a commentary on how the structure was derived (Default = false) * $params['body'] = (array) The contents of the file to be analyzed (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-find-file-structure.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-find-file-structure.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function findFileStructure(array $params = []) { @@ -371,9 +374,9 @@ public function findFileStructure(array $params = []) * $params['skip_time'] = (string) Skips time to the given value without generating results or updating the model for the skipped interval * $params['body'] = (array) Flush parameters * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html */ public function flushJob(array $params = []) { @@ -394,9 +397,9 @@ public function flushJob(array $params = []) * $params['expires_in'] = (time) The time interval after which the forecast expires. Expired forecasts will be deleted at the first opportunity. * $params['max_model_memory'] = (string) The max memory able to be used by the forecast. Default is 20mb. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-forecast.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-forecast.html */ public function forecast(array $params = []) { @@ -423,9 +426,9 @@ public function forecast(array $params = []) * $params['desc'] = (boolean) Set the sort direction * $params['body'] = (array) Bucket selection details if not provided in URI * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html */ public function getBuckets(array $params = []) { @@ -450,9 +453,9 @@ public function getBuckets(array $params = []) * $params['from'] = (int) Skips a number of events * $params['size'] = (int) Specifies a max number of events to get * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar-event.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar-event.html */ public function getCalendarEvents(array $params = []) { @@ -471,9 +474,9 @@ public function getCalendarEvents(array $params = []) * $params['size'] = (int) specifies a max number of calendars to get * $params['body'] = (array) The from and size parameters optionally sent in the body * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-calendar.html */ public function getCalendars(array $params = []) { @@ -496,9 +499,9 @@ public function getCalendars(array $params = []) * $params['partition_field_value'] = (string) Specifies the partition to retrieve categories for. This is optional, and should never be used for jobs where per-partition categorization is disabled. * $params['body'] = (array) Category selection details if not provided in URI * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html */ public function getCategories(array $params = []) { @@ -521,11 +524,12 @@ public function getCategories(array $params = []) * $params['from'] = (int) skips a number of analytics (Default = 0) * $params['size'] = (int) specifies a max number of analytics to get (Default = 100) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function getDataFrameAnalytics(array $params = []) { @@ -544,11 +548,12 @@ public function getDataFrameAnalytics(array $params = []) * $params['from'] = (int) skips a number of analytics (Default = 0) * $params['size'] = (int) specifies a max number of analytics to get (Default = 100) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function getDataFrameAnalyticsStats(array $params = []) { @@ -565,9 +570,9 @@ public function getDataFrameAnalyticsStats(array $params = []) * $params['datafeed_id'] = (string) The ID of the datafeeds stats to fetch * $params['allow_no_datafeeds'] = (boolean) Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html */ public function getDatafeedStats(array $params = []) { @@ -584,9 +589,9 @@ public function getDatafeedStats(array $params = []) * $params['datafeed_id'] = (string) The ID of the datafeeds to fetch * $params['allow_no_datafeeds'] = (boolean) Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html */ public function getDatafeeds(array $params = []) { @@ -604,9 +609,9 @@ public function getDatafeeds(array $params = []) * $params['from'] = (int) skips a number of filters * $params['size'] = (int) specifies a max number of filters to get * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-filter.html */ public function getFilters(array $params = []) { @@ -631,9 +636,9 @@ public function getFilters(array $params = []) * $params['desc'] = (boolean) whether the results should be sorted in decending order * $params['body'] = (array) Influencer selection criteria * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html */ public function getInfluencers(array $params = []) { @@ -652,9 +657,9 @@ public function getInfluencers(array $params = []) * $params['job_id'] = (string) The ID of the jobs stats to fetch * $params['allow_no_jobs'] = (boolean) Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html */ public function getJobStats(array $params = []) { @@ -671,9 +676,9 @@ public function getJobStats(array $params = []) * $params['job_id'] = (string) The ID of the jobs to fetch * $params['allow_no_jobs'] = (boolean) Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html */ public function getJobs(array $params = []) { @@ -697,9 +702,9 @@ public function getJobs(array $params = []) * $params['desc'] = (boolean) True if the results should be sorted in descending order * $params['body'] = (array) Model snapshot selection criteria * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html */ public function getModelSnapshots(array $params = []) { @@ -727,9 +732,9 @@ public function getModelSnapshots(array $params = []) * $params['allow_no_jobs'] = (boolean) Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified) * $params['body'] = (array) Overall bucket selection details if not provided in URI * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-overall-buckets.html */ public function getOverallBuckets(array $params = []) { @@ -756,9 +761,9 @@ public function getOverallBuckets(array $params = []) * $params['desc'] = (boolean) Set the sort direction * $params['body'] = (array) Record selection criteria * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html */ public function getRecords(array $params = []) { @@ -783,11 +788,12 @@ public function getRecords(array $params = []) * $params['tags'] = (list) A comma-separated list of tags that the model must have. * $params['for_export'] = (boolean) Omits fields that are illegal to set on model PUT (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-inference.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-inference.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function getTrainedModels(array $params = []) { @@ -806,11 +812,12 @@ public function getTrainedModels(array $params = []) * $params['from'] = (int) skips a number of trained models (Default = 0) * $params['size'] = (int) specifies a max number of trained models to get (Default = 100) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-inference-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-inference-stats.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function getTrainedModelsStats(array $params = []) { @@ -835,9 +842,9 @@ public function info(array $params = []) /** * $params['job_id'] = (string) The ID of the job to open * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html */ public function openJob(array $params = []) { @@ -854,9 +861,9 @@ public function openJob(array $params = []) * $params['calendar_id'] = (string) The ID of the calendar to modify * $params['body'] = (array) A list of events (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-calendar-event.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-calendar-event.html */ public function postCalendarEvents(array $params = []) { @@ -877,9 +884,9 @@ public function postCalendarEvents(array $params = []) * $params['reset_end'] = (string) Optional parameter to specify the end of the bucket resetting range * $params['body'] = (array) The data to process (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html */ public function postData(array $params = []) { @@ -897,9 +904,9 @@ public function postData(array $params = []) /** * $params['datafeed_id'] = (string) The ID of the datafeed to preview * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html */ public function previewDatafeed(array $params = []) { @@ -916,9 +923,9 @@ public function previewDatafeed(array $params = []) * $params['calendar_id'] = (string) The ID of the calendar to create * $params['body'] = (array) The calendar details * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar.html */ public function putCalendar(array $params = []) { @@ -937,9 +944,9 @@ public function putCalendar(array $params = []) * $params['calendar_id'] = (string) The ID of the calendar to modify * $params['job_id'] = (string) The ID of the job to add to the calendar * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-calendar-job.html */ public function putCalendarJob(array $params = []) { @@ -958,11 +965,12 @@ public function putCalendarJob(array $params = []) * $params['id'] = (string) The ID of the data frame analytics to create * $params['body'] = (array) The data frame analytics configuration (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-dfanalytics.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-dfanalytics.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function putDataFrameAnalytics(array $params = []) { @@ -985,9 +993,9 @@ public function putDataFrameAnalytics(array $params = []) * $params['expand_wildcards'] = (enum) Whether source index expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all) * $params['body'] = (array) The datafeed config (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html */ public function putDatafeed(array $params = []) { @@ -1006,9 +1014,9 @@ public function putDatafeed(array $params = []) * $params['filter_id'] = (string) The ID of the filter to create * $params['body'] = (array) The filter details (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-filter.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-filter.html */ public function putFilter(array $params = []) { @@ -1027,9 +1035,9 @@ public function putFilter(array $params = []) * $params['job_id'] = (string) The ID of the job to create * $params['body'] = (array) The job (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html */ public function putJob(array $params = []) { @@ -1048,11 +1056,12 @@ public function putJob(array $params = []) * $params['model_id'] = (string) The ID of the trained models to store * $params['body'] = (array) The trained model configuration (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-inference.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-inference.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function putTrainedModel(array $params = []) { @@ -1073,9 +1082,9 @@ public function putTrainedModel(array $params = []) * $params['delete_intervening_results'] = (boolean) Should we reset the results back to the time of the snapshot? * $params['body'] = (array) Reversion options * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html */ public function revertModelSnapshot(array $params = []) { @@ -1096,9 +1105,9 @@ public function revertModelSnapshot(array $params = []) * $params['enabled'] = (boolean) Whether to enable upgrade_mode ML setting or not. Defaults to false. * $params['timeout'] = (time) Controls the time to wait before action times out. Defaults to 30 seconds * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-set-upgrade-mode.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-set-upgrade-mode.html */ public function setUpgradeMode(array $params = []) { @@ -1114,11 +1123,12 @@ public function setUpgradeMode(array $params = []) * $params['timeout'] = (time) Controls the time to wait until the task has started. Defaults to 20 seconds * $params['body'] = (array) The start data frame analytics parameters * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/start-dfanalytics.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/start-dfanalytics.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function startDataFrameAnalytics(array $params = []) { @@ -1140,9 +1150,9 @@ public function startDataFrameAnalytics(array $params = []) * $params['timeout'] = (time) Controls the time to wait until a datafeed has started. Default to 20 seconds * $params['body'] = (array) The start datafeed parameters * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html */ public function startDatafeed(array $params = []) { @@ -1164,11 +1174,12 @@ public function startDatafeed(array $params = []) * $params['timeout'] = (time) Controls the time to wait until the task has stopped. Defaults to 20 seconds * $params['body'] = (array) The stop data frame analytics parameters * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-dfanalytics.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-dfanalytics.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function stopDataFrameAnalytics(array $params = []) { @@ -1189,9 +1200,9 @@ public function stopDataFrameAnalytics(array $params = []) * $params['force'] = (boolean) True if the datafeed should be forcefully stopped. * $params['timeout'] = (time) Controls the time to wait until a datafeed has stopped. Default to 20 seconds * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html */ public function stopDatafeed(array $params = []) { @@ -1208,11 +1219,12 @@ public function stopDatafeed(array $params = []) * $params['id'] = (string) The ID of the data frame analytics to update * $params['body'] = (array) The data frame analytics settings to update (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/update-dfanalytics.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/update-dfanalytics.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function updateDataFrameAnalytics(array $params = []) { @@ -1235,9 +1247,9 @@ public function updateDataFrameAnalytics(array $params = []) * $params['expand_wildcards'] = (enum) Whether source index expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all) * $params['body'] = (array) The datafeed update settings (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html */ public function updateDatafeed(array $params = []) { @@ -1256,9 +1268,9 @@ public function updateDatafeed(array $params = []) * $params['filter_id'] = (string) The ID of the filter to update * $params['body'] = (array) The filter update (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-filter.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-filter.html */ public function updateFilter(array $params = []) { @@ -1277,9 +1289,9 @@ public function updateFilter(array $params = []) * $params['job_id'] = (string) The ID of the job to create * $params['body'] = (array) The job update settings (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html */ public function updateJob(array $params = []) { @@ -1299,9 +1311,9 @@ public function updateJob(array $params = []) * $params['snapshot_id'] = (string) The ID of the snapshot to update * $params['body'] = (array) The model snapshot properties to update (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html */ public function updateModelSnapshot(array $params = []) { @@ -1321,9 +1333,9 @@ public function updateModelSnapshot(array $params = []) /** * $params['body'] = (array) The job config (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html + * @see https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html */ public function validate(array $params = []) { @@ -1339,9 +1351,9 @@ public function validate(array $params = []) /** * $params['body'] = (array) The detector (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html + * @see https://www.elastic.co/guide/en/machine-learning/current/ml-jobs.html */ public function validateDetector(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/MonitoringNamespace.php b/src/Elasticsearch/Namespaces/MonitoringNamespace.php index ce55a9367..1275971ea 100644 --- a/src/Elasticsearch/Namespaces/MonitoringNamespace.php +++ b/src/Elasticsearch/Namespaces/MonitoringNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -33,11 +32,12 @@ class MonitoringNamespace extends AbstractNamespace * $params['interval'] = (string) Collection interval (e.g., '10s' or '10000ms') of the payload * $params['body'] = (array) The operation definition and data (action-data pairs), separated by newlines (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function bulk(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/NodesNamespace.php b/src/Elasticsearch/Namespaces/NodesNamespace.php index f1a2a5234..ce263adf7 100644 --- a/src/Elasticsearch/Namespaces/NodesNamespace.php +++ b/src/Elasticsearch/Namespaces/NodesNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -35,9 +34,9 @@ class NodesNamespace extends AbstractNamespace * $params['type'] = (enum) The type to sample (default: cpu) (Options = cpu,wait,block) * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html */ public function hotThreads(array $params = []) { @@ -56,9 +55,9 @@ public function hotThreads(array $params = []) * $params['flat_settings'] = (boolean) Return settings in flat format (default: false) * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-info.html */ public function info(array $params = []) { @@ -78,9 +77,9 @@ public function info(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['body'] = (array) An object containing the password for the elasticsearch keystore * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings */ public function reloadSecureSettings(array $params = []) { @@ -108,9 +107,9 @@ public function reloadSecureSettings(array $params = []) * $params['timeout'] = (time) Explicit operation timeout * $params['include_segment_file_sizes'] = (boolean) Whether to report the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested) (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html */ public function stats(array $params = []) { @@ -132,9 +131,9 @@ public function stats(array $params = []) * $params['metric'] = (list) Limit the information returned to the specified metrics * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html */ public function usage(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/RollupNamespace.php b/src/Elasticsearch/Namespaces/RollupNamespace.php index 3f8f87015..85b413cf5 100644 --- a/src/Elasticsearch/Namespaces/RollupNamespace.php +++ b/src/Elasticsearch/Namespaces/RollupNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -29,11 +28,12 @@ class RollupNamespace extends AbstractNamespace /** * $params['id'] = (string) The ID of the job to delete * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-delete-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-delete-job.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function deleteJob(array $params = []) { @@ -49,11 +49,12 @@ public function deleteJob(array $params = []) /** * $params['id'] = (string) The ID of the job(s) to fetch. Accepts glob patterns, or left blank for all jobs * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-job.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function getJobs(array $params = []) { @@ -69,11 +70,12 @@ public function getJobs(array $params = []) /** * $params['id'] = (string) The ID of the index to check rollup capabilities on, or left blank for all jobs * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-caps.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-caps.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function getRollupCaps(array $params = []) { @@ -89,11 +91,12 @@ public function getRollupCaps(array $params = []) /** * $params['index'] = (string) The rollup index or index pattern to obtain rollup capabilities from. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-index-caps.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-get-rollup-index-caps.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function getRollupIndexCaps(array $params = []) { @@ -110,11 +113,12 @@ public function getRollupIndexCaps(array $params = []) * $params['id'] = (string) The ID of the job to create * $params['body'] = (array) The job configuration (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-put-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-put-job.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function putJob(array $params = []) { @@ -136,11 +140,12 @@ public function putJob(array $params = []) * $params['rest_total_hits_as_int'] = (boolean) Indicates whether hits.total should be rendered as an integer or an object in the rest search response (Default = false) * $params['body'] = (array) The search request body (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-search.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-search.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function rollupSearch(array $params = []) { @@ -160,11 +165,12 @@ public function rollupSearch(array $params = []) /** * $params['id'] = (string) The ID of the job to start * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-start-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-start-job.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function startJob(array $params = []) { @@ -182,11 +188,12 @@ public function startJob(array $params = []) * $params['wait_for_completion'] = (boolean) True if the API should block until the job has fully stopped, false if should be executed async. Defaults to false. * $params['timeout'] = (time) Block for (at maximum) the specified duration while waiting for the job to stop. Defaults to 30s. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-stop-job.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/rollup-stop-job.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function stopJob(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/SearchableSnapshotsNamespace.php b/src/Elasticsearch/Namespaces/SearchableSnapshotsNamespace.php index ab4384a57..0749c764b 100644 --- a/src/Elasticsearch/Namespaces/SearchableSnapshotsNamespace.php +++ b/src/Elasticsearch/Namespaces/SearchableSnapshotsNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -32,11 +31,12 @@ class SearchableSnapshotsNamespace extends AbstractNamespace * $params['allow_no_indices'] = (boolean) Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified) * $params['expand_wildcards'] = (enum) Whether to expand wildcard expression to concrete indices that are open, closed or both. (Options = open,closed,none,all) (Default = open) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-clear-cache.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-clear-cache.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function clearCache(array $params = []) { @@ -56,11 +56,12 @@ public function clearCache(array $params = []) * $params['wait_for_completion'] = (boolean) Should this request wait until the operation has completed before returning (Default = false) * $params['body'] = (array) The restore configuration for mounting the snapshot as searchable (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-mount-snapshot.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-mount-snapshot.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function mount(array $params = []) { @@ -80,11 +81,12 @@ public function mount(array $params = []) /** * $params['repository'] = (string) The repository for which to get the stats for * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-repository-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-repository-stats.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function repositoryStats(array $params = []) { @@ -100,11 +102,12 @@ public function repositoryStats(array $params = []) /** * $params['index'] = (list) A comma-separated list of index names * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/searchable-snapshots-api-stats.html * * @note This API is EXPERIMENTAL and may be changed or removed completely in a future release + * */ public function stats(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/SecurityNamespace.php b/src/Elasticsearch/Namespaces/SecurityNamespace.php index 8638d84f7..e412d62de 100644 --- a/src/Elasticsearch/Namespaces/SecurityNamespace.php +++ b/src/Elasticsearch/Namespaces/SecurityNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -28,9 +27,9 @@ class SecurityNamespace extends AbstractNamespace /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-authenticate.html */ public function authenticate(array $params = []) { @@ -46,9 +45,9 @@ public function authenticate(array $params = []) * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * $params['body'] = (array) the new password for the user (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-change-password.html */ public function changePassword(array $params = []) { @@ -66,9 +65,9 @@ public function changePassword(array $params = []) /** * $params['application'] = (list) A comma-separated list of application names * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-privilege-cache.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-privilege-cache.html */ public function clearCachedPrivileges(array $params = []) { @@ -85,9 +84,9 @@ public function clearCachedPrivileges(array $params = []) * $params['realms'] = (list) Comma-separated list of realms to clear * $params['usernames'] = (list) Comma-separated list of usernames to clear from the cache * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-cache.html */ public function clearCachedRealms(array $params = []) { @@ -103,9 +102,9 @@ public function clearCachedRealms(array $params = []) /** * $params['name'] = (list) Role name * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-role-cache.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-clear-role-cache.html */ public function clearCachedRoles(array $params = []) { @@ -122,9 +121,9 @@ public function clearCachedRoles(array $params = []) * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * $params['body'] = (array) The api key request to create an API key (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-create-api-key.html */ public function createApiKey(array $params = []) { @@ -142,9 +141,9 @@ public function createApiKey(array $params = []) * $params['name'] = (string) Privilege name * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-privilege.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-privilege.html */ public function deletePrivileges(array $params = []) { @@ -163,9 +162,9 @@ public function deletePrivileges(array $params = []) * $params['name'] = (string) Role name * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role.html */ public function deleteRole(array $params = []) { @@ -182,9 +181,9 @@ public function deleteRole(array $params = []) * $params['name'] = (string) Role-mapping name * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role-mapping.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role-mapping.html */ public function deleteRoleMapping(array $params = []) { @@ -201,9 +200,9 @@ public function deleteRoleMapping(array $params = []) * $params['username'] = (string) username * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-user.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-user.html */ public function deleteUser(array $params = []) { @@ -220,9 +219,9 @@ public function deleteUser(array $params = []) * $params['username'] = (string) The username of the user to disable * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-disable-user.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-disable-user.html */ public function disableUser(array $params = []) { @@ -239,9 +238,9 @@ public function disableUser(array $params = []) * $params['username'] = (string) The username of the user to enable * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-enable-user.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-enable-user.html */ public function enableUser(array $params = []) { @@ -261,9 +260,9 @@ public function enableUser(array $params = []) * $params['realm_name'] = (string) realm name of the user who created this API key to be retrieved * $params['owner'] = (boolean) flag to query API keys owned by the currently authenticated user (Default = false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-api-key.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-api-key.html */ public function getApiKey(array $params = []) { @@ -276,9 +275,9 @@ public function getApiKey(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-builtin-privileges.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-builtin-privileges.html */ public function getBuiltinPrivileges(array $params = []) { @@ -293,9 +292,9 @@ public function getBuiltinPrivileges(array $params = []) * $params['application'] = (string) Application name * $params['name'] = (string) Privilege name * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html */ public function getPrivileges(array $params = []) { @@ -313,9 +312,9 @@ public function getPrivileges(array $params = []) /** * $params['name'] = (string) Role name * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html */ public function getRole(array $params = []) { @@ -331,9 +330,9 @@ public function getRole(array $params = []) /** * $params['name'] = (string) Role-Mapping name * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role-mapping.html */ public function getRoleMapping(array $params = []) { @@ -349,9 +348,9 @@ public function getRoleMapping(array $params = []) /** * $params['body'] = (array) The token request to get (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-token.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-token.html */ public function getToken(array $params = []) { @@ -367,9 +366,9 @@ public function getToken(array $params = []) /** * $params['username'] = (list) A comma-separated list of usernames * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html */ public function getUser(array $params = []) { @@ -384,9 +383,9 @@ public function getUser(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-privileges.html */ public function getUserPrivileges(array $params = []) { @@ -401,9 +400,9 @@ public function getUserPrivileges(array $params = []) * $params['user'] = (string) Username * $params['body'] = (array) The privileges to test (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html */ public function hasPrivileges(array $params = []) { @@ -432,9 +431,9 @@ public function invalidateApiKey(array $params = []) /** * $params['body'] = (array) The token to invalidate (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-token.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-invalidate-token.html */ public function invalidateToken(array $params = []) { @@ -451,9 +450,9 @@ public function invalidateToken(array $params = []) * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * $params['body'] = (array) The privilege(s) to add (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-privileges.html */ public function putPrivileges(array $params = []) { @@ -471,9 +470,9 @@ public function putPrivileges(array $params = []) * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * $params['body'] = (array) The role to add (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html */ public function putRole(array $params = []) { @@ -493,9 +492,9 @@ public function putRole(array $params = []) * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * $params['body'] = (array) The role mapping to add (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role-mapping.html */ public function putRoleMapping(array $params = []) { @@ -515,9 +514,9 @@ public function putRoleMapping(array $params = []) * $params['refresh'] = (enum) If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes. (Options = true,false,wait_for) * $params['body'] = (array) The user to add (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-user.html */ public function putUser(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/SlmNamespace.php b/src/Elasticsearch/Namespaces/SlmNamespace.php index cf5704bd7..b6256b9de 100644 --- a/src/Elasticsearch/Namespaces/SlmNamespace.php +++ b/src/Elasticsearch/Namespaces/SlmNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -29,9 +28,9 @@ class SlmNamespace extends AbstractNamespace /** * $params['policy_id'] = (string) The id of the snapshot lifecycle policy to remove * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-delete-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-delete-policy.html */ public function deleteLifecycle(array $params = []) { @@ -47,9 +46,9 @@ public function deleteLifecycle(array $params = []) /** * $params['policy_id'] = (string) The id of the snapshot lifecycle policy to be executed * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-lifecycle.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-lifecycle.html */ public function executeLifecycle(array $params = []) { @@ -64,9 +63,9 @@ public function executeLifecycle(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-retention.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-execute-retention.html */ public function executeRetention(array $params = []) { @@ -80,9 +79,9 @@ public function executeRetention(array $params = []) /** * $params['policy_id'] = (list) Comma-separated list of snapshot lifecycle policies to retrieve * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-policy.html */ public function getLifecycle(array $params = []) { @@ -97,9 +96,9 @@ public function getLifecycle(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/slm-api-get-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/slm-api-get-stats.html */ public function getStats(array $params = []) { @@ -112,9 +111,9 @@ public function getStats(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-status.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-get-status.html */ public function getStatus(array $params = []) { @@ -129,9 +128,9 @@ public function getStatus(array $params = []) * $params['policy_id'] = (string) The id of the snapshot lifecycle policy * $params['body'] = (array) The snapshot lifecycle policy definition to register * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-put-policy.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-put-policy.html */ public function putLifecycle(array $params = []) { @@ -148,9 +147,9 @@ public function putLifecycle(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-start.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-start.html */ public function start(array $params = []) { @@ -163,9 +162,9 @@ public function start(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-stop.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/slm-api-stop.html */ public function stop(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/SnapshotNamespace.php b/src/Elasticsearch/Namespaces/SnapshotNamespace.php index 1301b4f0d..be26f14bd 100644 --- a/src/Elasticsearch/Namespaces/SnapshotNamespace.php +++ b/src/Elasticsearch/Namespaces/SnapshotNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -31,9 +30,9 @@ class SnapshotNamespace extends AbstractNamespace * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/clean-up-snapshot-repo-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/clean-up-snapshot-repo-api.html */ public function cleanupRepository(array $params = []) { @@ -53,9 +52,9 @@ public function cleanupRepository(array $params = []) * $params['wait_for_completion'] = (boolean) Should this request wait until the operation has completed before returning (Default = false) * $params['body'] = (array) The snapshot definition * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function create(array $params = []) { @@ -79,9 +78,9 @@ public function create(array $params = []) * $params['verify'] = (boolean) Whether to verify the repository after creation * $params['body'] = (array) The repository definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function createRepository(array $params = []) { @@ -101,9 +100,9 @@ public function createRepository(array $params = []) * $params['snapshot'] = (string) A snapshot name * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function delete(array $params = []) { @@ -123,9 +122,9 @@ public function delete(array $params = []) * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function deleteRepository(array $params = []) { @@ -145,9 +144,9 @@ public function deleteRepository(array $params = []) * $params['ignore_unavailable'] = (boolean) Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown * $params['verbose'] = (boolean) Whether to show verbose snapshot info or only show the basic info found in the repository index blob * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function get(array $params = []) { @@ -167,9 +166,9 @@ public function get(array $params = []) * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['local'] = (boolean) Return local information, do not retrieve the state from master node (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function getRepository(array $params = []) { @@ -189,9 +188,9 @@ public function getRepository(array $params = []) * $params['wait_for_completion'] = (boolean) Should this request wait until the operation has completed before returning (Default = false) * $params['body'] = (array) Details of what to restore * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function restore(array $params = []) { @@ -214,9 +213,9 @@ public function restore(array $params = []) * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['ignore_unavailable'] = (boolean) Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function status(array $params = []) { @@ -236,9 +235,9 @@ public function status(array $params = []) * $params['master_timeout'] = (time) Explicit operation timeout for connection to master node * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html */ public function verifyRepository(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/SqlNamespace.php b/src/Elasticsearch/Namespaces/SqlNamespace.php index a988cd4f1..3cd6b781e 100644 --- a/src/Elasticsearch/Namespaces/SqlNamespace.php +++ b/src/Elasticsearch/Namespaces/SqlNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -41,9 +40,9 @@ public function clearCursor(array $params = []) * $params['format'] = (string) a short version of the Accept header, e.g. json, yaml * $params['body'] = (array) Use the `query` element to start a query. Use the `cursor` element to continue a query. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-rest-overview.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-rest-overview.html */ public function query(array $params = []) { @@ -59,9 +58,9 @@ public function query(array $params = []) /** * $params['body'] = (array) Specify the query in the `query` element. (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-translate.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-translate.html */ public function translate(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/SslNamespace.php b/src/Elasticsearch/Namespaces/SslNamespace.php index b3dd8ac4d..ee668809e 100644 --- a/src/Elasticsearch/Namespaces/SslNamespace.php +++ b/src/Elasticsearch/Namespaces/SslNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -28,9 +27,9 @@ class SslNamespace extends AbstractNamespace /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html */ public function certificates(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/TasksNamespace.php b/src/Elasticsearch/Namespaces/TasksNamespace.php index 4caab9cbc..96613628d 100644 --- a/src/Elasticsearch/Namespaces/TasksNamespace.php +++ b/src/Elasticsearch/Namespaces/TasksNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -33,9 +32,9 @@ class TasksNamespace extends AbstractNamespace * $params['parent_task_id'] = (string) Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all. * $params['wait_for_completion'] = (boolean) Should the request block until the cancellation of the task and its descendant tasks is completed. Defaults to false * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html */ public function cancel(array $params = []) { @@ -53,9 +52,9 @@ public function cancel(array $params = []) * $params['wait_for_completion'] = (boolean) Wait for the matching tasks to complete (default: false) * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html */ public function get(array $params = []) { @@ -77,9 +76,9 @@ public function get(array $params = []) * $params['group_by'] = (enum) Group tasks by nodes or parent/child relationships (Options = nodes,parents,none) (Default = nodes) * $params['timeout'] = (time) Explicit operation timeout * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html */ public function list(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/TransformNamespace.php b/src/Elasticsearch/Namespaces/TransformNamespace.php index 245fe143d..eb0d49f1d 100644 --- a/src/Elasticsearch/Namespaces/TransformNamespace.php +++ b/src/Elasticsearch/Namespaces/TransformNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -30,9 +29,9 @@ class TransformNamespace extends AbstractNamespace * $params['transform_id'] = (string) The id of the transform to delete * $params['force'] = (boolean) When `true`, the transform is deleted regardless of its current state. The default value is `false`, meaning that the transform must be `stopped` before it can be deleted. * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html */ public function deleteTransform(array $params = []) { @@ -51,9 +50,9 @@ public function deleteTransform(array $params = []) * $params['size'] = (int) specifies a max number of transforms to get, defaults to 100 * $params['allow_no_match'] = (boolean) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html */ public function getTransform(array $params = []) { @@ -72,9 +71,9 @@ public function getTransform(array $params = []) * $params['size'] = (number) specifies a max number of transform stats to get, defaults to 100 * $params['allow_no_match'] = (boolean) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html */ public function getTransformStats(array $params = []) { @@ -103,9 +102,9 @@ public function previewTransform(array $params = []) * $params['defer_validation'] = (boolean) If validations should be deferred until transform starts, defaults to false. * $params['body'] = (array) The transform definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html */ public function putTransform(array $params = []) { @@ -124,9 +123,9 @@ public function putTransform(array $params = []) * $params['transform_id'] = (string) The id of the transform to start * $params['timeout'] = (time) Controls the time to wait for the transform to start * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html */ public function startTransform(array $params = []) { @@ -147,9 +146,9 @@ public function startTransform(array $params = []) * $params['allow_no_match'] = (boolean) Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified) * $params['wait_for_checkpoint'] = (boolean) Whether to wait for the transform to reach a checkpoint before stopping. Default to false * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html */ public function stopTransform(array $params = []) { @@ -167,9 +166,9 @@ public function stopTransform(array $params = []) * $params['defer_validation'] = (boolean) If validations should be deferred until transform starts, defaults to false. * $params['body'] = (array) The update transform definition (Required) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html */ public function updateTransform(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/WatcherNamespace.php b/src/Elasticsearch/Namespaces/WatcherNamespace.php index 0193ed715..1913a0083 100644 --- a/src/Elasticsearch/Namespaces/WatcherNamespace.php +++ b/src/Elasticsearch/Namespaces/WatcherNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -30,9 +29,9 @@ class WatcherNamespace extends AbstractNamespace * $params['watch_id'] = (string) Watch ID (Required) * $params['action_id'] = (list) A comma-separated list of the action ids to be acked * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-ack-watch.html */ public function ackWatch(array $params = []) { @@ -50,9 +49,9 @@ public function ackWatch(array $params = []) /** * $params['watch_id'] = (string) Watch ID * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-activate-watch.html */ public function activateWatch(array $params = []) { @@ -68,9 +67,9 @@ public function activateWatch(array $params = []) /** * $params['watch_id'] = (string) Watch ID * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-deactivate-watch.html */ public function deactivateWatch(array $params = []) { @@ -86,9 +85,9 @@ public function deactivateWatch(array $params = []) /** * $params['id'] = (string) Watch ID * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html */ public function deleteWatch(array $params = []) { @@ -106,9 +105,9 @@ public function deleteWatch(array $params = []) * $params['debug'] = (boolean) indicates whether the watch should execute in debug mode * $params['body'] = (array) Execution control * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-execute-watch.html */ public function executeWatch(array $params = []) { @@ -126,9 +125,9 @@ public function executeWatch(array $params = []) /** * $params['id'] = (string) Watch ID * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html */ public function getWatch(array $params = []) { @@ -149,9 +148,9 @@ public function getWatch(array $params = []) * $params['if_primary_term'] = (number) only update the watch if the last operation that has changed the watch has the specified primary term * $params['body'] = (array) The watch * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html */ public function putWatch(array $params = []) { @@ -168,9 +167,9 @@ public function putWatch(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html */ public function start(array $params = []) { @@ -185,9 +184,9 @@ public function start(array $params = []) * $params['metric'] = (list) Controls what additional stat metrics should be include in the response * $params['emit_stacktraces'] = (boolean) Emits stack traces of currently running watches * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html */ public function stats(array $params = []) { @@ -202,9 +201,9 @@ public function stats(array $params = []) } /** * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html */ public function stop(array $params = []) { diff --git a/src/Elasticsearch/Namespaces/XpackNamespace.php b/src/Elasticsearch/Namespaces/XpackNamespace.php index 8b7170b9d..40bca44e5 100644 --- a/src/Elasticsearch/Namespaces/XpackNamespace.php +++ b/src/Elasticsearch/Namespaces/XpackNamespace.php @@ -5,14 +5,13 @@ * @link https://github.com/elastic/elasticsearch-php/ * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 - * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 - * + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * * Licensed to Elasticsearch B.V under one or more agreements. * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or * the GNU Lesser General Public License, Version 2.1, at your option. * See the LICENSE file in the project root for more information. */ - declare(strict_types = 1); namespace Elasticsearch\Namespaces; @@ -30,9 +29,9 @@ class XpackNamespace extends AbstractNamespace * $params['categories'] = (list) Comma-separated list of info categories. Can be any of: build, license, features * $params['accept_enterprise'] = (boolean) If an enterprise license is installed, return the type and mode as 'enterprise' (default: false) * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html */ public function info(array $params = []) { @@ -46,9 +45,9 @@ public function info(array $params = []) /** * $params['master_timeout'] = (time) Specify timeout for watch write operation * - * @param array $params Associative array of parameters + * @param array $params Associative array of parameters * @return array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/usage-api.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/usage-api.html */ public function usage(array $params = []) {