Completed
Pull Request — master (#299)
by
unknown
02:38
created
application/tests/_ci_phpunit_test/replacing/core/old/3.1.9-Loader.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
 	 * @param	mixed	$library	Library name
192 192
 	 * @param	array	$params		Optional parameters to pass to the library class constructor
193 193
 	 * @param	string	$object_name	An optional object name to assign to
194
-	 * @return	object
194
+	 * @return	CI_Loader
195 195
 	 *
196 196
 	 * @codeCoverageIgnore
197 197
 	 */
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 	 * @param	mixed	$model		Model name
238 238
 	 * @param	string	$name		An optional object name to assign to
239 239
 	 * @param	bool	$db_conn	An optional database connection configuration to initialize
240
-	 * @return	object
240
+	 * @return	CI_Loader
241 241
 	 *
242 242
 	 * modified by ci-phpunit-test
243 243
 	 */
@@ -375,7 +375,7 @@  discard block
 block discarded – undo
375 375
 	/**
376 376
 	 * Database Loader
377 377
 	 *
378
-	 * @param	mixed	$params		Database configuration options
378
+	 * @param	string|boolean	$params		Database configuration options
379 379
 	 * @param	bool	$return 	Whether to return the database object
380 380
 	 * @param	bool	$query_builder	Whether to enable Query Builder
381 381
 	 *					(overrides the configuration setting)
@@ -539,7 +539,7 @@  discard block
 block discarded – undo
539 539
 	 *					An associative array or object containing values
540 540
 	 *					to be set, or a value's name if string
541 541
 	 * @param 	string	$val	Value to set, only used if $vars is a string
542
-	 * @return	object
542
+	 * @return	CI_Loader
543 543
 	 *
544 544
 	 * @codeCoverageIgnore
545 545
 	 */
@@ -613,7 +613,7 @@  discard block
 block discarded – undo
613 613
 	 * Helper Loader
614 614
 	 *
615 615
 	 * @param	string|string[]	$helpers	Helper name(s)
616
-	 * @return	object
616
+	 * @return	CI_Loader
617 617
 	 *
618 618
 	 * @codeCoverageIgnore
619 619
 	 */
@@ -692,7 +692,7 @@  discard block
 block discarded – undo
692 692
 	 *
693 693
 	 * @uses	CI_Loader::helper()
694 694
 	 * @param	string|string[]	$helpers	Helper name(s)
695
-	 * @return	object
695
+	 * @return	CI_Loader
696 696
 	 *
697 697
 	 * @codeCoverageIgnore
698 698
 	 */
@@ -710,7 +710,7 @@  discard block
 block discarded – undo
710 710
 	 *
711 711
 	 * @param	string|string[]	$files	List of language file names to load
712 712
 	 * @param	string		Language name
713
-	 * @return	object
713
+	 * @return	CI_Loader
714 714
 	 *
715 715
 	 * @codeCoverageIgnore
716 716
 	 */
@@ -810,7 +810,7 @@  discard block
 block discarded – undo
810 810
 	 *
811 811
 	 * @param	string	$path		Path to add
812 812
 	 * @param 	bool	$view_cascade	(default: TRUE)
813
-	 * @return	object
813
+	 * @return	CI_Loader
814 814
 	 *
815 815
 	 * @codeCoverageIgnore
816 816
 	 */
@@ -858,7 +858,7 @@  discard block
 block discarded – undo
858 858
 	 * added path will be removed removed.
859 859
 	 *
860 860
 	 * @param	string	$path	Path to remove
861
-	 * @return	object
861
+	 * @return	CI_Loader
862 862
 	 *
863 863
 	 * @codeCoverageIgnore
864 864
 	 */
Please login to merge, or discard this patch.
application/tests/_ci_phpunit_test/patcher/4.x/MonkeyPatchManager.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@  discard block
 block discarded – undo
35 35
 		'ConstantPatcher',
36 36
 	];
37 37
 
38
+	/**
39
+	 * @param string $message
40
+	 */
38 41
 	public static function log($message)
39 42
 	{
40 43
 		if (! self::$debug)
@@ -303,6 +306,9 @@  discard block
 block discarded – undo
303 306
 		self::$load_patchers = true;
304 307
 	}
305 308
 
309
+	/**
310
+	 * @param string $source
311
+	 */
306 312
 	protected static function execPatchers($source)
307 313
 	{
308 314
 		$patched = false;
Please login to merge, or discard this patch.
application/tests/_ci_phpunit_test/patcher/4.x/Patcher/Backtrace.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
20 20
 		'ConstantPatcher' => 0,
21 21
 	];
22 22
 
23
+	/**
24
+	 * @param string $patcher
25
+	 */
23 26
 	public static function getInfo($patcher, $backtrace)
24 27
 	{
25 28
 		if (! isset(self::$map[$patcher]))
Please login to merge, or discard this patch.
tests/_ci_phpunit_test/patcher/4.x/Patcher/ConstantPatcher/Proxy.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@  discard block
 block discarded – undo
51 51
 		self::$patches_to_apply = [];
52 52
 	}
53 53
 
54
+	/**
55
+	 * @param string $constant
56
+	 */
54 57
 	protected static function logInvocation($constant)
55 58
 	{
56 59
 		if (MonkeyPatchManager::$debug)
@@ -68,6 +71,9 @@  discard block
 block discarded – undo
68 71
 		}
69 72
 	}
70 73
 
74
+	/**
75
+	 * @param string $constant
76
+	 */
71 77
 	protected static function checkCalledMethod($constant)
72 78
 	{
73 79
 		$trace = debug_backtrace();
Please login to merge, or discard this patch.
application/tests/_ci_phpunit_test/patcher/4.x/Patcher/FunctionPatcher.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -84,6 +84,9 @@  discard block
 block discarded – undo
84 84
 		$this->node_visitor = new NodeVisitor();
85 85
 	}
86 86
 
87
+	/**
88
+	 * @param string $error_msg
89
+	 */
87 90
 	protected static function checkLock($error_msg)
88 91
 	{
89 92
 		if (self::$lock_function_list)
@@ -110,6 +113,9 @@  discard block
 block discarded – undo
110 113
 		return self::$whitelist;
111 114
 	}
112 115
 
116
+	/**
117
+	 * @param string $function_name
118
+	 */
113 119
 	public static function addBlacklist($function_name)
114 120
 	{
115 121
 		self::checkLock("You can't add to blacklist after initialization");
Please login to merge, or discard this patch.
tests/_ci_phpunit_test/patcher/4.x/Patcher/FunctionPatcher/Proxy.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 	 * 
38 38
 	 * @param string $function     function name
39 39
 	 * @param mixed  $return_value return value or callable
40
-	 * @param string $class_name   class::method to apply this patch
40
+	 * @param string $class_method   class::method to apply this patch
41 41
 	 * 
42 42
 	 * @throws LogicException
43 43
 	 */
@@ -86,6 +86,9 @@  discard block
 block discarded – undo
86 86
 		InvocationVerifier::verify(self::$expected_invocations, self::$invocations);
87 87
 	}
88 88
 
89
+	/**
90
+	 * @param string $function
91
+	 */
89 92
 	protected static function logInvocation($function, $arguments)
90 93
 	{
91 94
 		if (MonkeyPatchManager::$debug)
@@ -111,6 +114,9 @@  discard block
 block discarded – undo
111 114
 		}
112 115
 	}
113 116
 
117
+	/**
118
+	 * @param string $function
119
+	 */
114 120
 	protected static function checkCalledMethod($function)
115 121
 	{
116 122
 		$trace = debug_backtrace();
@@ -184,6 +190,9 @@  discard block
 block discarded – undo
184 190
 		return call_user_func_array($function, $arguments);
185 191
 	}
186 192
 
193
+	/**
194
+	 * @param string $function
195
+	 */
187 196
 	protected static function checkPassedByReference($function)
188 197
 	{
189 198
 		$ref_func = new ReflectionFunction($function);
Please login to merge, or discard this patch.