Skip to content

Commit a3b5d1b

Browse files
committed
Fix new coding standards errors.
1 parent ca85456 commit a3b5d1b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/ORM/Table.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,14 +355,14 @@ public function schema($schema = null) {
355355
*
356356
* {{{
357357
* protected function _initializeSchema(\Cake\Database\Schema\Table $table) {
358-
* $table->columnType('preferences', 'json');
359-
* return $table;
358+
* $table->columnType('preferences', 'json');
359+
* return $table;
360360
* }
361361
* }}}
362362
*
363-
* @api
364363
* @param \Cake\Database\Schema\Table $table The table definition fetched from database.
365364
* @return \Cake\Database\Schema\Table the altered schema
365+
* @api
366366
*/
367367
protected function _initializeSchema(Schema $table) {
368368
return $table;

tests/TestCase/BasicsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,13 +1089,13 @@ public function testNamespaceSplit() {
10891089
*/
10901090
public function testStackTrace() {
10911091
ob_start();
1092-
list($_, $expected) = [stackTrace(), \Cake\Utility\Debugger::trace()];
1092+
list($r, $expected) = [stackTrace(), \Cake\Utility\Debugger::trace()];
10931093
$result = ob_get_clean();
10941094
$this->assertEquals($expected, $result);
10951095

10961096
$opts = ['args' => true];
10971097
ob_start();
1098-
list($_, $expected) = [stackTrace($opts), \Cake\Utility\Debugger::trace($opts)];
1098+
list($r, $expected) = [stackTrace($opts), \Cake\Utility\Debugger::trace($opts)];
10991099
$result = ob_get_clean();
11001100
$this->assertEquals($expected, $result);
11011101
}

0 commit comments

Comments
 (0)