Completed
Push — master ( d07ffd...498d0f )
by Kenji
03:27
created
application/tests/_ci_phpunit_test/CIPHPUnitTestDbTestCase.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 	 * @param string $table
88 88
 	 * @param array  $where
89 89
 	 *
90
-	 * @return bool
90
+	 * @return boolean|null
91 91
 	 */
92 92
 	public function dontSeeInDatabase($table, array $where)
93 93
 	{
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 	 * @param string $table
108 108
 	 * @param array  $where
109 109
 	 *
110
-	 * @return bool
110
+	 * @return boolean|null
111 111
 	 */
112 112
 	public function seeInDatabase($table, array $where)
113 113
 	{
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 	 * @param string $table
170 170
 	 * @param array  $where
171 171
 	 *
172
-	 * @return bool
172
+	 * @return boolean|null
173 173
 	 */
174 174
 	public function seeNumRecords($expected, $table, array $where = [])
175 175
 	{
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 	{
36 36
 		if ($this->db === null)
37 37
 		{
38
-			$CI =& get_instance();
38
+			$CI = & get_instance();
39 39
 			$CI->load->database();
40 40
 			$this->db = $CI->db;
41 41
 		}
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 	 */
55 55
 	protected function tearDown()
56 56
 	{
57
-		if (! empty($this->insertCache))
57
+		if ( ! empty($this->insertCache))
58 58
 		{
59 59
 			foreach ($this->insertCache as $row)
60 60
 			{
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
 		$this->db->close();
72 72
 		$this->db = null;
73 73
 
74
-		$CI =& get_instance();
74
+		$CI = & get_instance();
75 75
 		$CI->load->database();
76 76
 		$this->db = $this->CI->db;
77 77
 	}
Please login to merge, or discard this patch.