Skip to content
Permalink
Browse files

getting sloppy as I get older, fixing code sniffer errors

  • Loading branch information...
phpnut committed Dec 29, 2015
1 parent 6ee6210 commit e7a313edeee5a16e45a697d7b54dd72bb334976d
@@ -92,7 +92,7 @@ public function read($id) {
'conditions' => array($this->_model->alias . '.' . $this->_model->primaryKey => $id)
));
if(empty($row[$this->_model->alias])){
if (empty($row[$this->_model->alias])) {
return '';
}
@@ -201,7 +201,7 @@ public function testSessionReadWrite() {
$this->assertTrue($Session->write('Test', $array));
$this->assertEquals($Session->read('Test'), $array);
$Session->delete('Test');
$this->assertTrue($Session->write(array('Test' => 'some value')));
$this->assertEquals('some value', $Session->read('Test'));
$Session->delete('Test');

0 comments on commit e7a313e

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