Completed
Push — master ( d88694...1943e9 )
by Bram
01:18
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/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/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/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/Attendee.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -349,7 +349,7 @@
 block discarded – undo
349 349
      * Get the user field and store it in a static cache
350 350
      * todo: add a cache that saves the field value on save and retrieves the values here, dumb, so empty fields don't trigger queries
351 351
      *
352
-     * @param $field
352
+     * @param string $field
353 353
      * @return mixed|null|string
354 354
      */
355 355
     public function getUserField($field)
Please login to merge, or discard this patch.
code/forms/CheckInValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
     /**
124 124
      * Translate the given type to a readable message
125 125
      *
126
-     * @param $message string
126
+     * @param string $message string
127 127
      * @param $ticket string
128 128
      *
129 129
      * @return string
Please login to merge, or discard this patch.
code/model/Reservation.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
     /**
277 277
      * Get the total by querying the sum of attendee ticket prices
278 278
      *
279
-     * @return float
279
+     * @return string
280 280
      */
281 281
     public function calculateTotal()
282 282
     {
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
      * Safely change to a state
300 300
      * todo check if state direction matches
301 301
      *
302
-     * @param $state
302
+     * @param string $state
303 303
      *
304 304
      * @return boolean
305 305
      */
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
@@ -15,6 +15,7 @@
 block discarded – undo
15 15
      *
16 16
      * @param float $total
17 17
      * @param Reservation $reservation
18
+     * @return void
18 19
      */
19 20
     public function updateTotal(&$total, Reservation $reservation);
20 21
 
Please login to merge, or discard this patch.