@@ -87,7 +87,7 @@ discard block |
||
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 |
||
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 |
||
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 | { |
@@ -35,7 +35,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |