Skip to content

Commit

Permalink
Adding a type to the TableSchemaInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krämer committed Jun 27, 2016
1 parent 71cde2a commit 2e9ec86
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Datasource/TableSchemaInterface.php
Expand Up @@ -14,16 +14,19 @@
*/
namespace Cake\Datasource;

use Cake\Database\Schema\Table;

/**
* Defines the interface for getting the schema.
*/
interface TableSchemaInterface
{

/**
* Get and set the schema for this fixture.
*
* @param array|\Cake\Database\Schema\Table|null $schema The table to set.
* @return array|\Cake\Database\Schema\Table|null
* @param \Cake\Database\Schema\Table|null $schema The table to set.
* @return \Cake\Database\Schema\Table|null
*/
public function schema($schema = null);
public function schema(Table $schema = null);
}

0 comments on commit 2e9ec86

Please sign in to comment.