Skip to content

Commit

Permalink
Merge pull request #159 from cakephp/3.6-fixes
Browse files Browse the repository at this point in the history
Adding a fix to make it work with 3.6
  • Loading branch information
lorenzo authored May 15, 2018
2 parents 13cccc1 + 879b7bb commit 0a9fc1d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Datasource/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,25 @@ public function __construct(array $config = [], $callback = null)
* Returns a SchemaCollection stub until we can add more
* abstract API's in Connection.
*
* @deprecated Use getSchemaCollection() instead
* @return \Cake\ElasticSearch\Datasource\SchemaCollection
*/
public function schemaCollection()
{
return new SchemaCollection($this);
}

/**
* Returns a SchemaCollection stub until we can add more
* abstract API's in Connection.
*
* @return \Cake\ElasticSearch\Datasource\SchemaCollection
*/
public function getSchemaCollection()
{
return new SchemaCollection($this);
}

/**
* {@inheritDoc}
*/
Expand Down

0 comments on commit 0a9fc1d

Please sign in to comment.