Completed
Branch develop (9310e3)
by Mario
02:48
created
controller/admin_overview_controller.php 2 patches
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 	}
170 170
 
171 171
 	/**
172
-	 * @param $action
172
+	 * @param string $action
173 173
 	 *
174 174
 	 * @return null
175 175
 	 * @access private
@@ -204,6 +204,9 @@  discard block
 block discarded – undo
204 204
 		}
205 205
 	}
206 206
 
207
+	/**
208
+	 * @param string $config_name
209
+	 */
207 210
 	private function sql_query_update_stats($config_name)
208 211
 	{
209 212
 		if (!$this->config->offsetExists($config_name))
@@ -309,7 +312,7 @@  discard block
 block discarded – undo
309 312
 	 *
310 313
 	 * @param string $config_name
311 314
 	 *
312
-	 * @return float
315
+	 * @return string
313 316
 	 * @access private
314 317
 	 */
315 318
 	private function per_day_stats($config_name)
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PayPal Donation extension for the phpBB Forum Software package.
5
- *
6
- * @copyright (c) 2015 Skouat
7
- * @license GNU General Public License, version 2 (GPL-2.0)
8
- *
9
- */
3
+	 *
4
+	 * PayPal Donation extension for the phpBB Forum Software package.
5
+	 *
6
+	 * @copyright (c) 2015 Skouat
7
+	 * @license GNU General Public License, version 2 (GPL-2.0)
8
+	 *
9
+	 */
10 10
 
11 11
 namespace skouat\ppde\operators;
12 12
 
Please login to merge, or discard this patch.
controller/ipn_listener.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -657,7 +657,7 @@  discard block
 block discarded – undo
657 657
 	/**
658 658
 	 * If cURL is available we use strcmp() to get the Pay
659 659
 	 *
660
-	 * @param $arg
660
+	 * @param string $arg
661 661
 	 *
662 662
 	 * @return bool
663 663
 	 */
@@ -669,7 +669,7 @@  discard block
 block discarded – undo
669 669
 	/**
670 670
 	 * If fsockopen is available we use strpos()
671 671
 	 *
672
-	 * @param $arg
672
+	 * @param string $arg
673 673
 	 *
674 674
 	 * @return bool
675 675
 	 */
Please login to merge, or discard this patch.
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PayPal Donation extension for the phpBB Forum Software package.
5
- *
6
- * @copyright (c) 2015 Skouat
7
- * @license GNU General Public License, version 2 (GPL-2.0)
8
- *
9
- * Special Thanks to the following individuals for their inspiration:
10
- *    David Lewis (Highway of Life) http://startrekguide.com
11
- *    Micah Carrick ([email protected]) http://www.micahcarrick.com
12
- */
3
+	 *
4
+	 * PayPal Donation extension for the phpBB Forum Software package.
5
+	 *
6
+	 * @copyright (c) 2015 Skouat
7
+	 * @license GNU General Public License, version 2 (GPL-2.0)
8
+	 *
9
+	 * Special Thanks to the following individuals for their inspiration:
10
+	 *    David Lewis (Highway of Life) http://startrekguide.com
11
+	 *    Micah Carrick ([email protected]) http://www.micahcarrick.com
12
+	 */
13 13
 
14 14
 namespace skouat\ppde\controller;
15 15
 
Please login to merge, or discard this patch.
controller/main_controller.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -488,8 +488,8 @@
 block discarded – undo
488 488
 	/**
489 489
 	 * Assign statistics percent vars to template
490 490
 	 *
491
-	 * @param        $multiplicand
492
-	 * @param        $dividend
491
+	 * @param        integer $multiplicand
492
+	 * @param        integer $dividend
493 493
 	 * @param string $type
494 494
 	 *
495 495
 	 * @return null
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PayPal Donation extension for the phpBB Forum Software package.
5
- *
6
- * @copyright (c) 2015 Skouat
7
- * @license GNU General Public License, version 2 (GPL-2.0)
8
- *
9
- */
3
+	 *
4
+	 * PayPal Donation extension for the phpBB Forum Software package.
5
+	 *
6
+	 * @copyright (c) 2015 Skouat
7
+	 * @license GNU General Public License, version 2 (GPL-2.0)
8
+	 *
9
+	 */
10 10
 
11 11
 namespace skouat\ppde\operators;
12 12
 
Please login to merge, or discard this patch.
entity/currency.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 	 *
139 139
 	 * @param bool $enable
140 140
 	 *
141
-	 * @return bool
141
+	 * @return currency
142 142
 	 * @access public
143 143
 	 */
144 144
 	public function set_currency_enable($enable)
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 	 *
166 166
 	 * @param bool $on_left
167 167
 	 *
168
-	 * @return bool
168
+	 * @return currency
169 169
 	 * @access public
170 170
 	 */
171 171
 	public function set_currency_position($on_left)
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PayPal Donation extension for the phpBB Forum Software package.
5
- *
6
- * @copyright (c) 2015 Skouat
7
- * @license GNU General Public License, version 2 (GPL-2.0)
8
- *
9
- */
3
+	 *
4
+	 * PayPal Donation extension for the phpBB Forum Software package.
5
+	 *
6
+	 * @copyright (c) 2015 Skouat
7
+	 * @license GNU General Public License, version 2 (GPL-2.0)
8
+	 *
9
+	 */
10 10
 
11 11
 namespace skouat\ppde\operators;
12 12
 
Please login to merge, or discard this patch.
entity/donation_pages.php 2 patches
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 	 *
143 143
 	 * @param int $lang
144 144
 	 *
145
-	 * @return donation_pages_interface $this object for chaining calls; load()->set()->save()
145
+	 * @return donation_pages $this object for chaining calls; load()->set()->save()
146 146
 	 * @access public
147 147
 	 */
148 148
 	public function set_lang_id($lang)
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
 	/**
215 215
 	 * Enable bbcode on the message
216 216
 	 *
217
-	 * @return donation_pages_interface $this object for chaining calls; load()->set()->save()
217
+	 * @return donation_pages $this object for chaining calls; load()->set()->save()
218 218
 	 * @access public
219 219
 	 */
220 220
 	public function message_enable_bbcode()
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
 	 *
270 270
 	 * @param string $message
271 271
 	 *
272
-	 * @return donation_pages_interface $this object for chaining calls; load()->set()->save()
272
+	 * @return donation_pages $this object for chaining calls; load()->set()->save()
273 273
 	 * @access public
274 274
 	 */
275 275
 	public function set_message($message)
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
 	/**
325 325
 	 * Disable bbcode on the message
326 326
 	 *
327
-	 * @return donation_pages_interface $this object for chaining calls; load()->set()->save()
327
+	 * @return donation_pages $this object for chaining calls; load()->set()->save()
328 328
 	 * @access public
329 329
 	 */
330 330
 	public function message_disable_bbcode()
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
 	/**
338 338
 	 * Enable magic url on the message
339 339
 	 *
340
-	 * @return donation_pages_interface $this object for chaining calls; load()->set()->save()
340
+	 * @return donation_pages $this object for chaining calls; load()->set()->save()
341 341
 	 * @access public
342 342
 	 */
343 343
 	public function message_enable_magic_url()
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
 	/**
351 351
 	 * Disable magic url on the message
352 352
 	 *
353
-	 * @return donation_pages_interface $this object for chaining calls; load()->set()->save()
353
+	 * @return donation_pages $this object for chaining calls; load()->set()->save()
354 354
 	 * @access public
355 355
 	 */
356 356
 	public function message_disable_magic_url()
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
363 363
 	/**
364 364
 	 * Enable smilies on the message
365 365
 	 *
366
-	 * @return donation_pages_interface $this object for chaining calls; load()->set()->save()
366
+	 * @return donation_pages $this object for chaining calls; load()->set()->save()
367 367
 	 * @access public
368 368
 	 */
369 369
 	public function message_enable_smilies()
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
 	/**
377 377
 	 * Disable smilies on the message
378 378
 	 *
379
-	 * @return donation_pages_interface $this object for chaining calls; load()->set()->save()
379
+	 * @return donation_pages $this object for chaining calls; load()->set()->save()
380 380
 	 * @access public
381 381
 	 */
382 382
 	public function message_disable_smilies()
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PayPal Donation extension for the phpBB Forum Software package.
5
- *
6
- * @copyright (c) 2015 Skouat
7
- * @license GNU General Public License, version 2 (GPL-2.0)
8
- *
9
- */
3
+	 *
4
+	 * PayPal Donation extension for the phpBB Forum Software package.
5
+	 *
6
+	 * @copyright (c) 2015 Skouat
7
+	 * @license GNU General Public License, version 2 (GPL-2.0)
8
+	 *
9
+	 */
10 10
 
11 11
 namespace skouat\ppde\operators;
12 12
 
Please login to merge, or discard this patch.
entity/main.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 	/**
100 100
 	 * Run function before do some alter some data in the database
101 101
 	 *
102
-	 * @param $function_name
102
+	 * @param string $function_name
103 103
 	 *
104 104
 	 * @return bool
105 105
 	 * @access private
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 	 *
175 175
 	 * @param int $id
176 176
 	 *
177
-	 * @return object $this object for chaining calls; load()->set()->save()
177
+	 * @return main $this object for chaining calls; load()->set()->save()
178 178
 	 * @access public
179 179
 	 */
180 180
 	public function set_id($id)
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 	 *
203 203
 	 * @param int $id
204 204
 	 *
205
-	 * @return object $this object for chaining calls; load()->set()->save()
205
+	 * @return main $this object for chaining calls; load()->set()->save()
206 206
 	 * @access public
207 207
 	 */
208 208
 	public function load($id)
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
 	 *
240 240
 	 * @param string $name
241 241
 	 *
242
-	 * @return object $this object for chaining calls; load()->set()->save()
242
+	 * @return main $this object for chaining calls; load()->set()->save()
243 243
 	 * @access public
244 244
 	 */
245 245
 	public function set_name($name)
Please login to merge, or discard this patch.
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PayPal Donation extension for the phpBB Forum Software package.
5
- *
6
- * @copyright (c) 2015 Skouat
7
- * @license GNU General Public License, version 2 (GPL-2.0)
8
- *
9
- */
3
+	 *
4
+	 * PayPal Donation extension for the phpBB Forum Software package.
5
+	 *
6
+	 * @copyright (c) 2015 Skouat
7
+	 * @license GNU General Public License, version 2 (GPL-2.0)
8
+	 *
9
+	 */
10 10
 
11 11
 namespace skouat\ppde\operators;
12 12
 
Please login to merge, or discard this patch.
operators/donation_pages.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PayPal Donation extension for the phpBB Forum Software package.
5
- *
6
- * @copyright (c) 2015 Skouat
7
- * @license GNU General Public License, version 2 (GPL-2.0)
8
- *
9
- */
3
+	 *
4
+	 * PayPal Donation extension for the phpBB Forum Software package.
5
+	 *
6
+	 * @copyright (c) 2015 Skouat
7
+	 * @license GNU General Public License, version 2 (GPL-2.0)
8
+	 *
9
+	 */
10 10
 
11 11
 namespace skouat\ppde\operators;
12 12
 
Please login to merge, or discard this patch.
language/fr/exceptions.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PayPal Donation extension for the phpBB Forum Software package.
5
- *
6
- * @copyright (c) 2015 Skouat
7
- * @license GNU General Public License, version 2 (GPL-2.0)
8
- *
9
- */
3
+	 *
4
+	 * PayPal Donation extension for the phpBB Forum Software package.
5
+	 *
6
+	 * @copyright (c) 2015 Skouat
7
+	 * @license GNU General Public License, version 2 (GPL-2.0)
8
+	 *
9
+	 */
10 10
 
11 11
 namespace skouat\ppde\operators;
12 12
 
Please login to merge, or discard this patch.
language/fr/permissions_donation.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- *
4
- * PayPal Donation extension for the phpBB Forum Software package.
5
- *
6
- * @copyright (c) 2015 Skouat
7
- * @license GNU General Public License, version 2 (GPL-2.0)
8
- *
9
- */
3
+	 *
4
+	 * PayPal Donation extension for the phpBB Forum Software package.
5
+	 *
6
+	 * @copyright (c) 2015 Skouat
7
+	 * @license GNU General Public License, version 2 (GPL-2.0)
8
+	 *
9
+	 */
10 10
 
11 11
 namespace skouat\ppde\operators;
12 12
 
Please login to merge, or discard this patch.