Completed
Branch master (a7913d)
by Bram
04:09
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/FormStep.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      * Set the next step
38 38
      * should this be configurable .. ?
39 39
      *
40
-     * @param $step
40
+     * @param null|string $step
41 41
      */
42 42
     public function setNextStep($step)
43 43
     {
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/SummaryForm.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,10 @@  discard block
 block discarded – undo
27 27
      */
28 28
     protected $reservation;
29 29
 
30
+    /**
31
+     * @param SummaryController $controller
32
+     * @param string $name
33
+     */
30 34
     public function __construct($controller, $name, Reservation $reservation)
31 35
     {
32 36
         $fields = FieldList::create(
@@ -108,7 +112,7 @@  discard block
 block discarded – undo
108 112
     /**
109 113
      * Get the last error message from the payment attempts
110 114
      *
111
-     * @return bool|string
115
+     * @return false|string
112 116
      */
113 117
     public function getPaymentErrorMessage()
114 118
     {
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/Reservation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@
 block discarded – undo
261 261
     /**
262 262
      * Create the folder for the qr code and ticket file
263 263
      *
264
-     * @return Folder|null
264
+     * @return null|DataObject
265 265
      */
266 266
     public function fileFolder()
267 267
     {
Please login to merge, or discard this patch.