Completed
Pull Request — master (#12)
by Simon
01:15
created
src/models/PartialFormSubmission.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,6 +175,7 @@  discard block
 block discarded – undo
175 175
 
176 176
     /**
177 177
      * @param Member
178
+     * @param Member $member
178 179
      *
179 180
      * @return boolean|string
180 181
      */
@@ -189,6 +190,7 @@  discard block
 block discarded – undo
189 190
 
190 191
     /**
191 192
      * @param Member
193
+     * @param Member $member
192 194
      *
193 195
      * @return boolean|string
194 196
      */
@@ -203,6 +205,7 @@  discard block
 block discarded – undo
203 205
 
204 206
     /**
205 207
      * @param Member
208
+     * @param Member $member
206 209
      *
207 210
      * @return boolean|string
208 211
      */
@@ -240,7 +243,7 @@  discard block
 block discarded – undo
240 243
     /**
241 244
      * Get the unique token for the share link
242 245
      *
243
-     * @return bool|string|null
246
+     * @return boolean|string
244 247
      * @throws \Exception
245 248
      */
246 249
     protected function getPartialToken()
Please login to merge, or discard this patch.
src/controllers/PartialUserFormController.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
41 41
         'partial',
42 42
     ];
43 43
 
44
+    /**
45
+     * @param HTTPRequest $request
46
+     */
44 47
     public function setData($request)
45 48
     {
46 49
         // Ensure this URL doesn't get picked up by HTTP caches
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Page;
8 8
 use SilverStripe\Control\HTTPRequest;
9 9
 use SilverStripe\Control\HTTPResponse;
10
-use SilverStripe\Control\HTTPResponse_Exception;
11 10
 use SilverStripe\Control\Middleware\HTTPCacheControlMiddleware;
12 11
 use SilverStripe\ORM\DataObject;
13 12
 use SilverStripe\ORM\FieldType\DBField;
Please login to merge, or discard this patch.
src/controllers/PartialUserFormVerifyController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     }
90 90
 
91 91
     /**
92
-     * @return mixed
92
+     * @return PartialFormSubmission
93 93
      */
94 94
     public function getPartialFormSubmission()
95 95
     {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     }
98 98
 
99 99
     /**
100
-     * @param mixed $partialFormSubmission
100
+     * @param PartialFormSubmission $partialFormSubmission
101 101
      */
102 102
     public function setPartialFormSubmission($partialFormSubmission): void
103 103
     {
Please login to merge, or discard this patch.