Completed
Pull Request — master (#12)
by Simon
05:52 queued 01:14
created
src/models/PartialFileFieldSubmission.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * @param Member $member
35 35
      *
36
-     * @return bool
36
+     * @return boolean|string
37 37
      */
38 38
     public function canView($member = null)
39 39
     {
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     /**
44 44
      * @param Member $member
45 45
      *
46
-     * @return bool
46
+     * @return boolean|string
47 47
      */
48 48
     public function canEdit($member = null)
49 49
     {
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * @param Member $member
55 55
      *
56
-     * @return bool
56
+     * @return boolean|string
57 57
      */
58 58
     public function canDelete($member = null)
59 59
     {
Please login to merge, or discard this patch.
src/models/PartialFormSubmission.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@
 block discarded – undo
193 193
     /**
194 194
      * Get the unique token for the share link
195 195
      *
196
-     * @return bool|string|null
196
+     * @return boolean|string
197 197
      * @throws Exception
198 198
      */
199 199
     protected function getPartialToken()
Please login to merge, or discard this patch.
src/extensions/UserDefinedFormControllerExtension.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Firesphere\PartialUserforms\Extensions;
4 4
 
5
-use Firesphere\PartialUserforms\Models\PartialFormSubmission;
6 5
 use SilverStripe\Core\Extension;
7 6
 use SilverStripe\UserForms\Control\UserDefinedFormController;
8 7
 use SilverStripe\View\Requirements;
Please login to merge, or discard this patch.