Skip to content

Commit

Permalink
updated CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Kalkbrenner committed Sep 14, 2018
1 parent e8cf9e4 commit e5c2da0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [master]
### Added
- Basic support for PUT requests in the HttpAdapter layer
- Core Admin Queries
- Endpoint::getServerUri
- Endpoint::getCoreBaseUri

### Changed

### Deprecated
- Endpoint::getBaseUri is deprecated. Please use getServerUri or getCoreBaseUri now.

### Removed

Expand Down
6 changes: 3 additions & 3 deletions src/Core/Client/Endpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,14 +225,14 @@ public function getCoreBaseUri()
*
* Based on host, path, port and core options.
*
* @deprecated Please use getCoreBaseUri or getServerUri now, will be removed in Solarium 6
* @deprecated Please use getCoreBaseUri or getServerUri now, will be removed in Solarium 5
*
* @return string
*/
public function getBaseUri()
{
$message = 'Endpoint::getBaseUri is deperacted since Solarium 5, will be removed in Solarium 6 please use '.
'getServerUri or getCoreBaseUri now.';
$message = 'Endpoint::getBaseUri is deprecated since Solarium 4.2, will be removed in Solarium 5.'.
'please use getServerUri or getCoreBaseUri now.';
@trigger_error($message, E_USER_DEPRECATED);

return $this->getCoreBaseUri();
Expand Down

0 comments on commit e5c2da0

Please sign in to comment.