Completed
Branch dependabot/composer/tijsverkoy... (491ea6)
by
unknown
32:00 queued 25:42
created
core/interfaces/EEI_Event.interface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,5 +5,5 @@
 block discarded – undo
5 5
  */
6 6
 interface EEI_Event
7 7
 {
8
-    public function name();
8
+	public function name();
9 9
 }
Please login to merge, or discard this patch.
core/interfaces/EEI_Address.interface.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -5,59 +5,59 @@
 block discarded – undo
5 5
  */
6 6
 interface EEI_Address
7 7
 {
8
-    public function address();
8
+	public function address();
9 9
 
10 10
 
11 11
 
12
-    public function address2();
12
+	public function address2();
13 13
 
14 14
 
15 15
 
16
-    public function city();
16
+	public function city();
17 17
 
18 18
 
19 19
 
20
-    /**
21
-     * @return EE_State
22
-     */
23
-    public function state_obj();
20
+	/**
21
+	 * @return EE_State
22
+	 */
23
+	public function state_obj();
24 24
 
25 25
 
26 26
 
27
-    public function state_ID();
27
+	public function state_ID();
28 28
 
29 29
 
30 30
 
31
-    public function state_name();
31
+	public function state_name();
32 32
 
33 33
 
34 34
 
35
-    public function state_abbrev();
35
+	public function state_abbrev();
36 36
 
37 37
 
38 38
 
39
-    public function state();
39
+	public function state();
40 40
 
41 41
 
42 42
 
43
-    /**
44
-     * @return EE_Country
45
-     */
46
-    public function country_obj();
43
+	/**
44
+	 * @return EE_Country
45
+	 */
46
+	public function country_obj();
47 47
 
48 48
 
49 49
 
50
-    public function country_ID();
50
+	public function country_ID();
51 51
 
52 52
 
53 53
 
54
-    public function country_name();
54
+	public function country_name();
55 55
 
56 56
 
57 57
 
58
-    public function country();
58
+	public function country();
59 59
 
60 60
 
61 61
 
62
-    public function zip();
62
+	public function zip();
63 63
 }
Please login to merge, or discard this patch.
core/interfaces/EEHI_Template.interface.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -5,22 +5,22 @@
 block discarded – undo
5 5
  */
6 6
 interface EEHI_Template
7 7
 {
8
-    /**
9
-     * EEH_Template::format_currency
10
-     * This helper takes a raw float value and formats it according to the default config country currency settings, or the country currency settings from the supplied country ISO code
11
-     *
12
-     * @param  float   $amount       raw money value
13
-     * @param  boolean $return_raw   whether to return the formatted float value only with no currency sign or code
14
-     * @param  boolean $display_code whether to display the country code (USD). Default = TRUE
15
-     * @param  string  $CNT_ISO      2 letter ISO code for a country
16
-     * @param string   $cur_code_span_class
17
-     * @return string the html output for the formatted money value
18
-     */
19
-    public static function format_currency(
20
-        $amount = null,
21
-        $return_raw = false,
22
-        $display_code = true,
23
-        $CNT_ISO = '',
24
-        $cur_code_span_class = 'currency-code'
25
-    );
8
+	/**
9
+	 * EEH_Template::format_currency
10
+	 * This helper takes a raw float value and formats it according to the default config country currency settings, or the country currency settings from the supplied country ISO code
11
+	 *
12
+	 * @param  float   $amount       raw money value
13
+	 * @param  boolean $return_raw   whether to return the formatted float value only with no currency sign or code
14
+	 * @param  boolean $display_code whether to display the country code (USD). Default = TRUE
15
+	 * @param  string  $CNT_ISO      2 letter ISO code for a country
16
+	 * @param string   $cur_code_span_class
17
+	 * @return string the html output for the formatted money value
18
+	 */
19
+	public static function format_currency(
20
+		$amount = null,
21
+		$return_raw = false,
22
+		$display_code = true,
23
+		$CNT_ISO = '',
24
+		$cur_code_span_class = 'currency-code'
25
+	);
26 26
 }
Please login to merge, or discard this patch.
core/interfaces/line_items/EEI_Line_Item.interface.php 1 patch
Indentation   +169 added lines, -169 removed lines patch added patch discarded remove patch
@@ -10,231 +10,231 @@
 block discarded – undo
10 10
  */
11 11
 interface EEI_Line_Item
12 12
 {
13
-    /**
14
-     * generic setter
15
-     * @param    string $field_name
16
-     * @param    mixed  $field_value
17
-     * @param bool      $use_default
18
-     */
19
-    public function set($field_name, $field_value, $use_default = false);
13
+	/**
14
+	 * generic setter
15
+	 * @param    string $field_name
16
+	 * @param    mixed  $field_value
17
+	 * @param bool      $use_default
18
+	 */
19
+	public function set($field_name, $field_value, $use_default = false);
20 20
 
21 21
 
22 22
 
23
-    /**
24
-     * @return string
25
-     */
26
-    public function name();
23
+	/**
24
+	 * @return string
25
+	 */
26
+	public function name();
27 27
 
28 28
 
29 29
 
30
-    /**
31
-     * @return string
32
-     */
33
-    public function desc();
30
+	/**
31
+	 * @return string
32
+	 */
33
+	public function desc();
34 34
 
35 35
 
36 36
 
37
-    /**
38
-     * The unit price for the items of this line item
39
-     * @return float
40
-     */
41
-    public function unit_price();
37
+	/**
38
+	 * The unit price for the items of this line item
39
+	 * @return float
40
+	 */
41
+	public function unit_price();
42 42
 
43 43
 
44 44
 
45
-    /**
46
-     * Returns the number of items in this line item
47
-     * @return int
48
-     */
49
-    public function quantity();
45
+	/**
46
+	 * Returns the number of items in this line item
47
+	 * @return int
48
+	 */
49
+	public function quantity();
50 50
 
51 51
 
52 52
 
53
-    /**
54
-     * Sets quantity
55
-     * @param int $quantity
56
-     */
57
-    public function set_quantity($quantity);
53
+	/**
54
+	 * Sets quantity
55
+	 * @param int $quantity
56
+	 */
57
+	public function set_quantity($quantity);
58 58
 
59 59
 
60 60
 
61
-    /**
62
-     * Returns the total amount due for this line item
63
-     * (usually quantity x unit_price)
64
-     * @return float
65
-     */
66
-    public function total();
61
+	/**
62
+	 * Returns the total amount due for this line item
63
+	 * (usually quantity x unit_price)
64
+	 * @return float
65
+	 */
66
+	public function total();
67 67
 
68 68
 
69 69
 
70
-    /**
71
-     * Gets all teh children line items of type 'line-item'
72
-     * @return EE_Line_Item[]
73
-     */
74
-    public function get_items();
70
+	/**
71
+	 * Gets all teh children line items of type 'line-item'
72
+	 * @return EE_Line_Item[]
73
+	 */
74
+	public function get_items();
75 75
 
76 76
 
77 77
 
78
-    /**
79
-     * Gets the total for all the items purchased only
80
-     * @return float
81
-     */
82
-    public function get_items_total();
78
+	/**
79
+	 * Gets the total for all the items purchased only
80
+	 * @return float
81
+	 */
82
+	public function get_items_total();
83 83
 
84 84
 
85 85
 
86
-    /**
87
-     * Gets all the children line items of type 'tax'
88
-     * @return EE_Line_Item[]
89
-     */
90
-    public function tax_descendants();
86
+	/**
87
+	 * Gets all the children line items of type 'tax'
88
+	 * @return EE_Line_Item[]
89
+	 */
90
+	public function tax_descendants();
91 91
 
92 92
 
93 93
 
94
-    /**
95
-     * Gets the total amount of the tax sub-line items
96
-     * @return float
97
-     */
98
-    public function get_total_tax();
94
+	/**
95
+	 * Gets the total amount of the tax sub-line items
96
+	 * @return float
97
+	 */
98
+	public function get_total_tax();
99 99
 
100 100
 
101 101
 
102
-    /**
103
-     * Returns the name of the event the ticket is for
104
-     * @return string
105
-     */
106
-    public function ticket_event_name();
102
+	/**
103
+	 * Returns the name of the event the ticket is for
104
+	 * @return string
105
+	 */
106
+	public function ticket_event_name();
107 107
 
108 108
 
109 109
 
110
-    /**
111
-     * Saves this line item to the DB, and recursively saves its descendants.
112
-     * Also sets the transaction on this line item and all its descendants before saving
113
-     * @param int $txn_id if none is provided, assumes $this->TXN_ID()
114
-     * @return int count of items saved
115
-     */
116
-    public function save_this_and_descendants_to_txn($txn_id = null);
110
+	/**
111
+	 * Saves this line item to the DB, and recursively saves its descendants.
112
+	 * Also sets the transaction on this line item and all its descendants before saving
113
+	 * @param int $txn_id if none is provided, assumes $this->TXN_ID()
114
+	 * @return int count of items saved
115
+	 */
116
+	public function save_this_and_descendants_to_txn($txn_id = null);
117 117
 
118 118
 
119 119
 
120
-    /**
121
-     * Indicates whether or not taxes should apply to this line item
122
-     * @return boolean
123
-     */
124
-    public function is_taxable();
120
+	/**
121
+	 * Indicates whether or not taxes should apply to this line item
122
+	 * @return boolean
123
+	 */
124
+	public function is_taxable();
125 125
 
126 126
 
127 127
 
128
-    /**
129
-     * Gets ALL the children of this line item (ie, all the parts that contribute towards this total).
130
-     * @return EE_Line_Item[]
131
-     */
132
-    public function children();
128
+	/**
129
+	 * Gets ALL the children of this line item (ie, all the parts that contribute towards this total).
130
+	 * @return EE_Line_Item[]
131
+	 */
132
+	public function children();
133 133
 
134 134
 
135 135
 
136
-    /**
137
-     * Adds the line item as a child to this line item. If there is another child line
138
-     * item with the same LIN_code, it is overwritten by this new one
139
-     * @param EE_Line_Item $line_item
140
-     * @param bool         $set_order
141
-     * @return bool true for success, false for fail
142
-     */
143
-    public function add_child_line_item(EE_Line_Item $line_item, $set_order = true);
136
+	/**
137
+	 * Adds the line item as a child to this line item. If there is another child line
138
+	 * item with the same LIN_code, it is overwritten by this new one
139
+	 * @param EE_Line_Item $line_item
140
+	 * @param bool         $set_order
141
+	 * @return bool true for success, false for fail
142
+	 */
143
+	public function add_child_line_item(EE_Line_Item $line_item, $set_order = true);
144 144
 
145 145
 
146 146
 
147
-    /**
148
-     * Gets the line item type
149
-     * @return string
150
-     */
151
-    public function type();
147
+	/**
148
+	 * Gets the line item type
149
+	 * @return string
150
+	 */
151
+	public function type();
152 152
 
153 153
 
154 154
 
155
-    /**
156
-     * Gets item_id
157
-     * @return string
158
-     */
159
-    public function OBJ_ID();
155
+	/**
156
+	 * Gets item_id
157
+	 * @return string
158
+	 */
159
+	public function OBJ_ID();
160 160
 
161 161
 
162 162
 
163
-    /**
164
-     * Gets the related item type ( like: Ticket or Event )
165
-     * @return string
166
-     */
167
-    public function OBJ_type();
163
+	/**
164
+	 * Gets the related item type ( like: Ticket or Event )
165
+	 * @return string
166
+	 */
167
+	public function OBJ_type();
168 168
 
169 169
 
170 170
 
171
-    /**
172
-     * Gets the final total on this item, taking taxes into account.
173
-     * Has the side-effect of setting the sub-total as it was just calculated.
174
-     * If this is used on a grand-total line item, also updates the transaction's
175
-     * TXN_total
176
-     * @return float
177
-     */
178
-    public function recalculate_total_including_taxes();
171
+	/**
172
+	 * Gets the final total on this item, taking taxes into account.
173
+	 * Has the side-effect of setting the sub-total as it was just calculated.
174
+	 * If this is used on a grand-total line item, also updates the transaction's
175
+	 * TXN_total
176
+	 * @return float
177
+	 */
178
+	public function recalculate_total_including_taxes();
179 179
 
180
-    /**
181
-     * Checks if this item is a percentage modifier or not
182
-     * @throws EE_Error
183
-     * @return boolean
184
-     */
185
-    public function is_percent();
186
-
187
-    /**
188
-     * Gets percent (between 100-.001)
189
-     * @return float
190
-     */
191
-    public function percent();
192
-
193
-    /**
194
-     * Sets total
195
-     * @param float $total
196
-     * @return boolean
197
-     */
198
-    public function set_total($total);
199
-
200
-    /**
201
-     * Sets unit_price
202
-     * @param float $unit_price
203
-     * @return boolean
204
-     */
205
-    public function set_unit_price($unit_price);
206
-
207
-    /**
208
-     * If this line item has been saved to the DB, deletes its child with LIN_code == $code. If this line
209
-     * HAS NOT been saved to the DB, removes the child line item with index $code.
210
-     * Also searches through the child's children for a matching line item. However, once a line item has been found
211
-     * and deleted, stops searching (so if there are line items with duplicate codes, only the first one found will be deleted)
212
-     * @param string $code
213
-     * @param bool $stop_search_once_found
214
-     * @return int count of items deleted (or simply removed from the line item's cache, if not has not been saved to the DB yet)
215
-     */
216
-    public function delete_child_line_item($code, $stop_search_once_found = true);
217
-
218
-    /**
219
-     * Forgets the cached model of the given relation Name. So the next time we request it,
220
-     * we will fetch it again from the database. (Handy if you know it's changed somehow).
221
-     * If a specific object is supplied, and the relationship to it is either a HasMany or HABTM,
222
-     * then only remove that one object from our cached array. Otherwise, clear the entire list
223
-     * @param string $relationName                         one of the keys in the _model_relations array on the model. Eg 'Registration'
224
-     * @param mixed  $object_to_remove_or_index_into_array or an index into the array of cached things, or NULL
225
-     * if you intend to use $clear_all = TRUE, or the relation only has 1 object anyways (ie, it's a BelongsToRelation)
226
-     * @param bool   $clear_all                            This flags clearing the entire cache relation property if this is HasMany or HABTM.
227
-     * @throws EE_Error
228
-     * @return EE_Base_Class | boolean from which was cleared from the cache, or true if we requested to remove a relation from all
229
-     */
230
-    public function clear_cache($relationName, $object_to_remove_or_index_into_array = null, $clear_all = false);
231
-
232
-    /**
233
-     * Sets whether or not this model object should be allowed to be saved to the DB.
234
-     * Normally once this is set to FALSE you wouldn't set it back to TRUE, unless
235
-     * you got new information that somehow made you change your mind.
236
-     * @param boolean $allow_persist
237
-     * @return boolean
238
-     */
239
-    public function set_allow_persist($allow_persist);
180
+	/**
181
+	 * Checks if this item is a percentage modifier or not
182
+	 * @throws EE_Error
183
+	 * @return boolean
184
+	 */
185
+	public function is_percent();
186
+
187
+	/**
188
+	 * Gets percent (between 100-.001)
189
+	 * @return float
190
+	 */
191
+	public function percent();
192
+
193
+	/**
194
+	 * Sets total
195
+	 * @param float $total
196
+	 * @return boolean
197
+	 */
198
+	public function set_total($total);
199
+
200
+	/**
201
+	 * Sets unit_price
202
+	 * @param float $unit_price
203
+	 * @return boolean
204
+	 */
205
+	public function set_unit_price($unit_price);
206
+
207
+	/**
208
+	 * If this line item has been saved to the DB, deletes its child with LIN_code == $code. If this line
209
+	 * HAS NOT been saved to the DB, removes the child line item with index $code.
210
+	 * Also searches through the child's children for a matching line item. However, once a line item has been found
211
+	 * and deleted, stops searching (so if there are line items with duplicate codes, only the first one found will be deleted)
212
+	 * @param string $code
213
+	 * @param bool $stop_search_once_found
214
+	 * @return int count of items deleted (or simply removed from the line item's cache, if not has not been saved to the DB yet)
215
+	 */
216
+	public function delete_child_line_item($code, $stop_search_once_found = true);
217
+
218
+	/**
219
+	 * Forgets the cached model of the given relation Name. So the next time we request it,
220
+	 * we will fetch it again from the database. (Handy if you know it's changed somehow).
221
+	 * If a specific object is supplied, and the relationship to it is either a HasMany or HABTM,
222
+	 * then only remove that one object from our cached array. Otherwise, clear the entire list
223
+	 * @param string $relationName                         one of the keys in the _model_relations array on the model. Eg 'Registration'
224
+	 * @param mixed  $object_to_remove_or_index_into_array or an index into the array of cached things, or NULL
225
+	 * if you intend to use $clear_all = TRUE, or the relation only has 1 object anyways (ie, it's a BelongsToRelation)
226
+	 * @param bool   $clear_all                            This flags clearing the entire cache relation property if this is HasMany or HABTM.
227
+	 * @throws EE_Error
228
+	 * @return EE_Base_Class | boolean from which was cleared from the cache, or true if we requested to remove a relation from all
229
+	 */
230
+	public function clear_cache($relationName, $object_to_remove_or_index_into_array = null, $clear_all = false);
231
+
232
+	/**
233
+	 * Sets whether or not this model object should be allowed to be saved to the DB.
234
+	 * Normally once this is set to FALSE you wouldn't set it back to TRUE, unless
235
+	 * you got new information that somehow made you change your mind.
236
+	 * @param boolean $allow_persist
237
+	 * @return boolean
238
+	 */
239
+	public function set_allow_persist($allow_persist);
240 240
 }
Please login to merge, or discard this patch.
core/interfaces/line_items/EEI_Line_Item_Object.interface.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -11,16 +11,16 @@
 block discarded – undo
11 11
  */
12 12
 interface EEI_Line_Item_Object
13 13
 {
14
-    /**
15
-     * Return the name representing the object (i.e. Event Title, or Ticket Name).
16
-     * @return string
17
-     */
18
-    public function name();
14
+	/**
15
+	 * Return the name representing the object (i.e. Event Title, or Ticket Name).
16
+	 * @return string
17
+	 */
18
+	public function name();
19 19
 
20 20
 
21
-    /**
22
-     * Return the ID representation for the object.
23
-     * @return mixed int|string
24
-     */
25
-    public function ID();
21
+	/**
22
+	 * Return the ID representation for the object.
23
+	 * @return mixed int|string
24
+	 */
25
+	public function ID();
26 26
 }
Please login to merge, or discard this patch.
core/interfaces/line_items/EEHI_Line_Item.interface.php 1 patch
Indentation   +72 added lines, -72 removed lines patch added patch discarded remove patch
@@ -5,88 +5,88 @@
 block discarded – undo
5 5
  */
6 6
 interface EEHI_Line_Item
7 7
 {
8
-    /**
9
-     * Adds an item to the purchase in the right spot
10
-     *
11
-     * @param EE_Line_Item $total_line_item
12
-     * @param EE_Line_Item $line_item
13
-     */
14
-    public function add_item(EE_Line_Item $total_line_item, EE_Line_Item $line_item);
8
+	/**
9
+	 * Adds an item to the purchase in the right spot
10
+	 *
11
+	 * @param EE_Line_Item $total_line_item
12
+	 * @param EE_Line_Item $line_item
13
+	 */
14
+	public function add_item(EE_Line_Item $total_line_item, EE_Line_Item $line_item);
15 15
 
16 16
 
17 17
 
18
-    /**
19
-     * Overwrites the previous tax by clearing out the old taxes, and creates a new
20
-     * tax and updates the total line item accordingly
21
-     *
22
-     * @param EE_Line_Item $total_line_item
23
-     * @param float        $amount
24
-     * @param string       $name
25
-     * @param string       $description
26
-     * @param string       $code
27
-     * @param boolean      $add_to_existing_line_item if true and a duplicate line item with
28
-     *                                                the same code is found, $amount will be added onto it; otherwise will simply
29
-     *                                                set the taxes to match $amount
30
-     * @return EE_Line_Item the new tax created
31
-     */
32
-    public function set_total_tax_to(
33
-        EE_Line_Item $total_line_item,
34
-        $amount,
35
-        $name = null,
36
-        $description = null,
37
-        $code = null,
38
-        $add_to_existing_line_item = false
39
-    );
18
+	/**
19
+	 * Overwrites the previous tax by clearing out the old taxes, and creates a new
20
+	 * tax and updates the total line item accordingly
21
+	 *
22
+	 * @param EE_Line_Item $total_line_item
23
+	 * @param float        $amount
24
+	 * @param string       $name
25
+	 * @param string       $description
26
+	 * @param string       $code
27
+	 * @param boolean      $add_to_existing_line_item if true and a duplicate line item with
28
+	 *                                                the same code is found, $amount will be added onto it; otherwise will simply
29
+	 *                                                set the taxes to match $amount
30
+	 * @return EE_Line_Item the new tax created
31
+	 */
32
+	public function set_total_tax_to(
33
+		EE_Line_Item $total_line_item,
34
+		$amount,
35
+		$name = null,
36
+		$description = null,
37
+		$code = null,
38
+		$add_to_existing_line_item = false
39
+	);
40 40
 
41 41
 
42 42
 
43
-    /**
44
-     * Makes all the line items which are children of $line_item taxable (or not).
45
-     * Does NOT save the line items
46
-     *
47
-     * @param EE_Line_Item $line_item
48
-     * @param boolean      $taxable
49
-     * @param string       $code_substring_for_whitelist if this string is part of the line item's code
50
-     *                                                   it will be whitelisted (ie, except from becoming taxable)
51
-     */
52
-    public static function set_line_items_taxable(
53
-        EE_Line_Item $line_item,
54
-        $taxable = true,
55
-        $code_substring_for_whitelist = null
56
-    );
43
+	/**
44
+	 * Makes all the line items which are children of $line_item taxable (or not).
45
+	 * Does NOT save the line items
46
+	 *
47
+	 * @param EE_Line_Item $line_item
48
+	 * @param boolean      $taxable
49
+	 * @param string       $code_substring_for_whitelist if this string is part of the line item's code
50
+	 *                                                   it will be whitelisted (ie, except from becoming taxable)
51
+	 */
52
+	public static function set_line_items_taxable(
53
+		EE_Line_Item $line_item,
54
+		$taxable = true,
55
+		$code_substring_for_whitelist = null
56
+	);
57 57
 
58 58
 
59 59
 
60
-    /**
61
-     * Adds a simple item ( unrelated to any other model object) to the total line item,
62
-     * in the correct spot in the line item tree.
63
-     *
64
-     * @param EE_Line_Item $total_line_item
65
-     * @param string       $name
66
-     * @param float        $unit_price
67
-     * @param string       $description
68
-     * @param int          $quantity
69
-     * @param boolean      $taxable
70
-     * @param boolean      $code if set to a value, ensures there is only one line item with that code
71
-     * @return boolean success
72
-     */
73
-    public function add_unrelated_item(
74
-        EE_Line_Item $total_line_item,
75
-        $name,
76
-        $unit_price,
77
-        $description = '',
78
-        $quantity = 1,
79
-        $taxable = false,
80
-        $code = null
81
-    );
60
+	/**
61
+	 * Adds a simple item ( unrelated to any other model object) to the total line item,
62
+	 * in the correct spot in the line item tree.
63
+	 *
64
+	 * @param EE_Line_Item $total_line_item
65
+	 * @param string       $name
66
+	 * @param float        $unit_price
67
+	 * @param string       $description
68
+	 * @param int          $quantity
69
+	 * @param boolean      $taxable
70
+	 * @param boolean      $code if set to a value, ensures there is only one line item with that code
71
+	 * @return boolean success
72
+	 */
73
+	public function add_unrelated_item(
74
+		EE_Line_Item $total_line_item,
75
+		$name,
76
+		$unit_price,
77
+		$description = '',
78
+		$quantity = 1,
79
+		$taxable = false,
80
+		$code = null
81
+	);
82 82
 
83 83
 
84 84
 
85
-    /**
86
-     * Gets the line item for the taxes subtotal
87
-     *
88
-     * @param EE_Line_Item $total_line_item of type EEM_Line_Item::type_total
89
-     * @return \EE_Line_Item
90
-     */
91
-    public static function get_taxes_subtotal(EE_Line_Item $total_line_item);
85
+	/**
86
+	 * Gets the line item for the taxes subtotal
87
+	 *
88
+	 * @param EE_Line_Item $total_line_item of type EEM_Line_Item::type_total
89
+	 * @return \EE_Line_Item
90
+	 */
91
+	public static function get_taxes_subtotal(EE_Line_Item $total_line_item);
92 92
 }
Please login to merge, or discard this patch.
core/interfaces/line_items/EEI_Line_Item_Display.interface.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -5,10 +5,10 @@
 block discarded – undo
5 5
  */
6 6
 interface EEI_Line_Item_Display
7 7
 {
8
-    /**
9
-     * @param EE_Line_Item $line_item
10
-     * @param array        $options
11
-     * @return mixed
12
-     */
13
-    public function display_line_item(EE_Line_Item $line_item, $options = array());
8
+	/**
9
+	 * @param EE_Line_Item $line_item
10
+	 * @param array        $options
11
+	 * @return mixed
12
+	 */
13
+	public function display_line_item(EE_Line_Item $line_item, $options = array());
14 14
 }
Please login to merge, or discard this patch.
core/interfaces/EEI_Has_Address.interface.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -5,33 +5,33 @@
 block discarded – undo
5 5
  */
6 6
 interface EEI_Has_Address
7 7
 {
8
-    public function address();
8
+	public function address();
9 9
 
10 10
 
11 11
 
12
-    public function address2();
12
+	public function address2();
13 13
 
14 14
 
15 15
 
16
-    public function city();
16
+	public function city();
17 17
 
18 18
 
19 19
 
20
-    public function state_ID();
20
+	public function state_ID();
21 21
 
22 22
 
23 23
 
24
-    public function state_obj();
24
+	public function state_obj();
25 25
 
26 26
 
27 27
 
28
-    public function country_ID();
28
+	public function country_ID();
29 29
 
30 30
 
31 31
 
32
-    public function country_obj();
32
+	public function country_obj();
33 33
 
34 34
 
35 35
 
36
-    public function zip();
36
+	public function zip();
37 37
 }
Please login to merge, or discard this patch.
core/interfaces/EEHI_File.interface.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -5,27 +5,27 @@
 block discarded – undo
5 5
  */
6 6
 interface EEHI_File
7 7
 {
8
-    /**
9
-     * ensure_file_exists_and_is_writable
10
-     * ensures that a file exists and is writable, will attempt to create file if it does not exist
11
-     *
12
-     * @param string $full_file_path
13
-     * @throws EE_Error
14
-     * @return bool
15
-     */
16
-    public static function ensure_file_exists_and_is_writable(string $full_file_path = ''): bool;
8
+	/**
9
+	 * ensure_file_exists_and_is_writable
10
+	 * ensures that a file exists and is writable, will attempt to create file if it does not exist
11
+	 *
12
+	 * @param string $full_file_path
13
+	 * @throws EE_Error
14
+	 * @return bool
15
+	 */
16
+	public static function ensure_file_exists_and_is_writable(string $full_file_path = ''): bool;
17 17
 
18 18
 
19 19
 
20
-    /**
21
-     * ensure_folder_exists_and_is_writable
22
-     * ensures that a folder exists and is writable, will attempt to create folder if it does not exist
23
-     *
24
-     * @param string $folder
25
-     * @throws EE_Error
26
-     * @return bool
27
-     */
28
-    public static function ensure_folder_exists_and_is_writable(string $folder = ''): bool;
20
+	/**
21
+	 * ensure_folder_exists_and_is_writable
22
+	 * ensures that a folder exists and is writable, will attempt to create folder if it does not exist
23
+	 *
24
+	 * @param string $folder
25
+	 * @throws EE_Error
26
+	 * @return bool
27
+	 */
28
+	public static function ensure_folder_exists_and_is_writable(string $folder = ''): bool;
29 29
 }
30 30
 // End of file EEHI_File.interface.php
31 31
 // Location: core/interfaces/EEHI_File.interface.php
Please login to merge, or discard this patch.