Adding return types to Session test classes.

This commit is contained in:
Larry E. Masters 2015-12-22 16:20:24 -05:00
parent dd11c63069
commit 1c593eea63
2 changed files with 10 additions and 0 deletions

View file

@ -12,18 +12,23 @@ class TestAppLibSession implements CakeSessionHandlerInterface {
}
public function close() {
return true;
}
public function read($id) {
return '';
}
public function write($id, $data) {
return true;
}
public function destroy($id) {
return true;
}
public function gc($expires = null) {
return true;
}
}

View file

@ -12,18 +12,23 @@ class TestPluginSession implements CakeSessionHandlerInterface {
}
public function close() {
return true;
}
public function read($id) {
return '';
}
public function write($id, $data) {
return true;
}
public function destroy($id) {
return true;
}
public function gc($expires = null) {
return true;
}
}