Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix new coding standards errors.
  • Loading branch information
markstory committed Jul 10, 2014
1 parent ca85456 commit a3b5d1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/ORM/Table.php
Expand Up @@ -355,14 +355,14 @@ public function schema($schema = null) {
*
* {{{
* protected function _initializeSchema(\Cake\Database\Schema\Table $table) {
* $table->columnType('preferences', 'json');
* return $table;
* $table->columnType('preferences', 'json');
* return $table;
* }
* }}}
*
* @api
* @param \Cake\Database\Schema\Table $table The table definition fetched from database.
* @return \Cake\Database\Schema\Table the altered schema
* @api
*/
protected function _initializeSchema(Schema $table) {
return $table;
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase/BasicsTest.php
Expand Up @@ -1089,13 +1089,13 @@ public function testNamespaceSplit() {
*/
public function testStackTrace() {
ob_start();
list($_, $expected) = [stackTrace(), \Cake\Utility\Debugger::trace()];
list($r, $expected) = [stackTrace(), \Cake\Utility\Debugger::trace()];
$result = ob_get_clean();
$this->assertEquals($expected, $result);

$opts = ['args' => true];
ob_start();
list($_, $expected) = [stackTrace($opts), \Cake\Utility\Debugger::trace($opts)];
list($r, $expected) = [stackTrace($opts), \Cake\Utility\Debugger::trace($opts)];
$result = ob_get_clean();
$this->assertEquals($expected, $result);
}
Expand Down

0 comments on commit a3b5d1b

Please sign in to comment.