mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
add missing docblock, remove unneeded code
This commit is contained in:
parent
7ea1a59035
commit
ab7dd99e43
1 changed files with 4 additions and 7 deletions
|
@ -71,15 +71,12 @@ class RequestHandlerTestController extends Controller {
|
|||
|
||||
}
|
||||
|
||||
class CustomJsonView extends JsonView {
|
||||
|
||||
/**
|
||||
* Test method for viewClassMap and overriding _serialize()
|
||||
* CustomJsonView class
|
||||
*
|
||||
* @package Cake.Test.Case.Controller.Component
|
||||
*/
|
||||
protected function _serialize($serialize) {
|
||||
return json_encode(array('return' => 'ok'));
|
||||
}
|
||||
}
|
||||
class CustomJsonView extends JsonView {}
|
||||
|
||||
/**
|
||||
* RequestHandlerComponentTest class
|
||||
|
|
Loading…
Add table
Reference in a new issue