Completed
Push — master ( b4c347...aed8e9 )
by
unknown
06:49
created
code/authenticators/JwtAuth.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -130,6 +130,9 @@
 block discarded – undo
130 130
         return false;
131 131
     }
132 132
 
133
+    /**
134
+     * @param string $data
135
+     */
133 136
     static function base64_url_encode($data) {
134 137
         return rtrim(base64_encode($data), '=');
135 138
     }
Please login to merge, or discard this patch.
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.
tests/unittests/extensions/PaginationExtensionTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -28,10 +28,16 @@
 block discarded – undo
28 28
 
29 29
 class PaginationTestController extends SS_Object implements TestOnly {
30 30
 
31
+    /**
32
+     * @param SS_HTTPRequest $request
33
+     */
31 34
     public function getLimit($request) {
32 35
         return $this->limit($request);
33 36
     }
34 37
 
38
+    /**
39
+     * @param SS_HTTPRequest $request
40
+     */
35 41
     public function getOffset($request) {
36 42
         return $this->offset($request);
37 43
     }
Please login to merge, or discard this patch.