mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
getting sloppy as I get older, fixing code sniffer errors
This commit is contained in:
parent
6ee621011b
commit
e7a313edee
2 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ class DatabaseSession implements CakeSessionHandlerInterface {
|
|||
'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 @@ class SessionComponentTest extends CakeTestCase {
|
|||
$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');
|
||||
|
|
Loading…
Reference in a new issue