Completed
Push — master ( 150399...ff4d75 )
by Bram
07:30
created
code/forms/CheckInForm.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
 
17 17
 class CheckInForm extends Form
18 18
 {
19
+    /**
20
+     * @param CheckInController $controller
21
+     */
19 22
     public function __construct($controller, $name = 'CheckInForm')
20 23
     {
21 24
         $fields = FieldList::create(
Please login to merge, or discard this patch.
code/forms/ReservationForm.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -34,6 +34,10 @@
 block discarded – undo
34 34
      */
35 35
     protected $reservation;
36 36
 
37
+    /**
38
+     * @param ReservationController $controller
39
+     * @param string $name
40
+     */
37 41
     public function __construct($controller, $name, Reservation $reservation = null)
38 42
     {
39 43
         $requiredFields = array();
Please login to merge, or discard this patch.
code/forms/TicketForm.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@  discard block
 block discarded – undo
32 32
      */
33 33
     protected $event;
34 34
 
35
+    /**
36
+     * @param string $name
37
+     */
35 38
     public function __construct($controller, $name, DataList $tickets = null, CalendarEvent $event = null)
36 39
     {
37 40
         $this->event = $event;
@@ -65,7 +68,7 @@  discard block
 block discarded – undo
65 68
      * @param array      $data
66 69
      * @param TicketForm $form
67 70
      *
68
-     * @return string
71
+     * @return \SS_HTTPResponse
69 72
      */
70 73
     public function handleTicketForm(array $data, TicketForm $form)
71 74
     {
Please login to merge, or discard this patch.
code/interface/PriceModifierInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -14,6 +14,7 @@
 block discarded – undo
14 14
      * Modify the given total
15 15
      *
16 16
      * @param float $total
17
+     * @return void
17 18
      */
18 19
     public function updateTotal(&$total);
19 20
 
Please login to merge, or discard this patch.
code/model/PriceModifier.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
     /**
99 99
      * Set the price modification on the join
100 100
      *
101
-     * @param $value
101
+     * @param double $value
102 102
      */
103 103
     public function setPriceModification($value)
104 104
     {
Please login to merge, or discard this patch.
code/fields/GuestListExportButton.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      * @param      $gridField
51 51
      * @param null $request
52 52
      *
53
-     * @return mixed
53
+     * @return \SS_HTTPResponse|null
54 54
      */
55 55
     public function handleExport($gridField, $request = null) {
56 56
         $now = Date("d-m-Y-H-i");
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      * Generate export fields for CSV.
66 66
      *
67 67
      * @param GridField $gridField
68
-     * @return array
68
+     * @return string
69 69
      */
70 70
     public function generateExportFileData($gridField) {
71 71
         $separator = $this->csvSeparator;
Please login to merge, or discard this patch.
code/tasks/MigrateUserFieldsTask.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,8 +119,8 @@
 block discarded – undo
119 119
      * Map the given field type to one of the available class names
120 120
      * Also looks into the current mapping if the field has a new type
121 121
      *
122
-     * @param      $type
123
-     * @param null $name
122
+     * @param      \FormField $type
123
+     * @param string $name
124 124
      *
125 125
      * @return string
126 126
      */
Please login to merge, or discard this patch.
code/model/Ticket.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@
 block discarded – undo
219 219
     /**
220 220
      * Get the event start date
221 221
      *
222
-     * @return Date
222
+     * @return SS_Datetime|null
223 223
      */
224 224
     private function getEventStartDate()
225 225
     {
Please login to merge, or discard this patch.
code/model/user-fields/UserField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
      * Create the actual field
157 157
      * Overwrite this on the field subclass
158 158
      *
159
-     * @param $fieldName string Created by the AttendeeField
159
+     * @param string $fieldName string Created by the AttendeeField
160 160
      * @param $defaultValue string Set a default value
161 161
      *
162 162
      * @return FormField
Please login to merge, or discard this patch.