Failed Conditions
Pull Request — master (#1326)
by Nick
26:02 queued 20:44
created
classes/Data.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -159,6 +159,9 @@
 block discarded – undo
159 159
         }
160 160
     }
161 161
 
162
+    /**
163
+     * @param string $type
164
+     */
162 165
     private function getMetadata($args="", $type) {
163 166
         // $type is either 'page' or 'section'
164 167
         global $this_page, $this_section;
Please login to merge, or discard this patch.
classes/Db/Query.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -175,6 +175,11 @@  discard block
 block discarded – undo
175 175
     }
176 176
 
177 177
     // After SELECT.
178
+
179
+    /**
180
+     * @param integer $row_index
181
+     * @param string $column_name
182
+     */
178 183
     public function field($row_index, $column_name) {
179 184
         if ($this->rows > 0)
180 185
             return $this->data[$row_index][$column_name];
@@ -187,6 +192,10 @@  discard block
 block discarded – undo
187 192
     }
188 193
 
189 194
     // After SELECT.
195
+
196
+    /**
197
+     * @param integer $row_index
198
+     */
190 199
     public function row($row_index) {
191 200
         if ($this->success && $this->rows > 0)
192 201
             return $this->data[$row_index];
@@ -224,6 +233,9 @@  discard block
 block discarded – undo
224 233
         return $html;
225 234
     }
226 235
 
236
+    /**
237
+     * @param string $errormsg
238
+     */
227 239
     public function error($errormsg) {
228 240
         // When a query goes wrong...
229 241
         $this->success = false;
Please login to merge, or discard this patch.
classes/Db/Connection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      * @param string $db_pass The password for the database user
56 56
      * @param string $db_name The name of the database
57 57
      *
58
-     * @return true If the connection has been created successfully.
58
+     * @return boolean If the connection has been created successfully.
59 59
      */
60 60
 
61 61
     public function init($db_host, $db_user, $db_pass, $db_name) {
Please login to merge, or discard this patch.