Skip to content
Permalink
Browse files

Fix new coding standards errors.

  • Loading branch information...
markstory committed Jul 10, 2014
1 parent ca85456 commit a3b5d1b8f3d051e9ae3d3a08ef731e093a6a3da3
Showing with 5 additions and 5 deletions.
  1. +3 −3 src/ORM/Table.php
  2. +2 −2 tests/TestCase/BasicsTest.php
@@ -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;
@@ -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);
}

0 comments on commit a3b5d1b

Please sign in to comment.
You can’t perform that action at this time.