Completed
Push — develop ( 034857...1b157a )
by Christian
8s
created
code/controllers/BaseRestController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
 
55 55
     /**
56 56
      * @param SS_HTTPRequest $request
57
-     * @return null
57
+     * @return SS_HTTPResponse|null
58 58
      * @throws RestUserException
59 59
      */
60 60
     public function head(SS_HTTPRequest $request) {
Please login to merge, or discard this patch.
code/serializers/HtmlSerializer.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      * The given data will be serialized into an html string using a Silverstripe template.
24 24
      *
25 25
      * @param array $data
26
-     * @return string an html string
26
+     * @return \HTMLText an html string
27 27
      */
28 28
     public function serialize($data) {
29 29
         $list = $this->recursive($data, 1);
@@ -34,6 +34,9 @@  discard block
 block discarded – undo
34 34
         return $this->contentType;
35 35
     }
36 36
 
37
+    /**
38
+     * @param integer $level
39
+     */
37 40
     private function recursive($data, $level) {
38 41
         $list = [];
39 42
         if(is_array($data)) {
Please login to merge, or discard this patch.