Fix coding standards warnings.

This commit is contained in:
mark_story 2012-04-06 22:34:16 -04:00
parent 38b7ae3c67
commit ff35762e92
2 changed files with 10 additions and 8 deletions

View file

@ -43,10 +43,11 @@ class ThemePosts2Controller extends Controller {
* @return void
*/
public function index() {
$this->set('testData', 'Some test data');
$test2 = 'more data';
$test3 = 'even more data';
$this->set(compact('test2', 'test3'));
$this->set(array(
'testData' => 'Some test data',
'test2' => 'more data',
'test3' => 'even more data',
));
}
}

View file

@ -51,10 +51,11 @@ class ViewPostsController extends Controller {
* @return void
*/
public function index() {
$this->set('testData', 'Some test data');
$test2 = 'more data';
$test3 = 'even more data';
$this->set(compact('test2', 'test3'));
$this->set(array(
'testData' => 'Some test data',
'test2' => 'more data',
'test3' => 'even more data',
));
}
/**