Completed
Pull Request — master (#13)
by Martijn van
03:35 queued 01:15
created
code/Commands/List/ListRouteCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 
57 57
     /**
58 58
      * @param string $controller
59
-     * @return array
59
+     * @return string
60 60
      */
61 61
     protected function getUrlHandlersForController($controller)
62 62
     {
Please login to merge, or discard this patch.
code/Core/SilverstripeCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
      * @param string $question
249 249
      * @param bool   $default
250 250
      *
251
-     * @return bool
251
+     * @return string
252 252
      */
253 253
     public function confirm($question, $default = false)
254 254
     {
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
     /**
341 341
      * Format input to textual table.
342 342
      *
343
-     * @param array  $headers
343
+     * @param string[]  $headers
344 344
      * @param array  $rows
345 345
      * @param string $style
346 346
      *
Please login to merge, or discard this patch.
code/Commands/Make/MakeFormCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@
 block discarded – undo
86 86
         return $filePath;
87 87
     }
88 88
 
89
+    /**
90
+     * @param string $formClass
91
+     */
89 92
     protected function getFormMethodStub($formClass)
90 93
     {
91 94
         $file = $this->getStubFilePath('ControllerFormMethods');
Please login to merge, or discard this patch.
code/Forms/ConsoleForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
      * Add is $Field is required message.
94 94
      *
95 95
      * @param FormField $field
96
-     * @param $title
96
+     * @param string $title
97 97
      */
98 98
     protected function setCustomValidationMessage(FormField $field, $title)
99 99
     {
Please login to merge, or discard this patch.
code/Commands/Security/ResetPasswordCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     }
30 30
 
31 31
     /**
32
-     * @return Member|null
32
+     * @return DataObject|null
33 33
      */
34 34
     protected function getMemberByEmailOrID()
35 35
     {
Please login to merge, or discard this patch.
code/Commands/Security/CreateMemberCommand.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,9 @@  discard block
 block discarded – undo
52 52
 
53 53
     /**
54 54
      * @param string$email
55
+     * @param string $email
55 56
      *
56
-     * @return DataObject
57
+     * @return boolean
57 58
      */
58 59
     protected function emailExists($email)
59 60
     {
@@ -63,7 +64,7 @@  discard block
 block discarded – undo
63 64
     /**
64 65
      * Get the desired email from the input.
65 66
      *
66
-     * @return bool|string
67
+     * @return false|string
67 68
      */
68 69
     protected function getValidEmailInput()
69 70
     {
Please login to merge, or discard this patch.