Completed
Push — master ( a7faa2...c7788e )
by Christian
9s
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/serializers/HtmlSerializer.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      * The given data will be serialized into an html string using a Silverstripe template.
17 17
      *
18 18
      * @param array $data
19
-     * @return string an html string
19
+     * @return HTMLText an html string
20 20
      */
21 21
     public function serialize($data) {
22 22
         $list = $this->recursive($data, 1);
@@ -27,6 +27,9 @@  discard block
 block discarded – undo
27 27
         return $this->contentType;
28 28
     }
29 29
 
30
+    /**
31
+     * @param integer $level
32
+     */
30 33
     private function recursive($data, $level) {
31 34
         $list = [];
32 35
         if(is_array($data)) {
Please login to merge, or discard this patch.
code/validators/RestValidatorHelper.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * @param $data
45
-     * @param $field
45
+     * @param string $field
46 46
      * @param array $options
47 47
      * @return int
48 48
      * @throws ValidationException
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 
72 72
     /**
73 73
      * @param $data
74
-     * @param $field
74
+     * @param string $field
75 75
      * @param array $options
76 76
      * @return string
77 77
      * @throws ValidationException
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 
98 98
     /**
99 99
      * @param $data
100
-     * @param $field
100
+     * @param string $field
101 101
      * @param array $options
102 102
      * @return string
103 103
      * @throws ValidationException
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 
136 136
     /**
137 137
      * @param $data
138
-     * @param $field
138
+     * @param string $field
139 139
      * @param array $options
140 140
      * @return string
141 141
      * @throws ValidationException
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
@@ -22,10 +22,16 @@
 block discarded – undo
22 22
 
23 23
 class PaginationTestController extends Object implements TestOnly {
24 24
 
25
+    /**
26
+     * @param SS_HTTPRequest $request
27
+     */
25 28
     public function getLimit($request) {
26 29
         return $this->limit($request);
27 30
     }
28 31
 
32
+    /**
33
+     * @param SS_HTTPRequest $request
34
+     */
29 35
     public function getOffset($request) {
30 36
         return $this->offset($request);
31 37
     }
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
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      *
44 44
      * @param SS_HTTPRequest $request
45 45
      * @param string $action
46
-     * @return HTMLText|SS_HTTPResponse
46
+     * @return SS_HTTPResponse
47 47
      */
48 48
     protected function handleAction($request, $action) {
49 49
         foreach($request->latestParams() as $k => $v) {
Please login to merge, or discard this patch.