Passed
Branch master (b6f4c9)
by
unknown
03:07
created
src/lib/Db.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 /**
91 91
  * @param string $query
92 92
  * @param array $params
93
- * @param null $db
93
+ * @param string $db
94 94
  * @return null|void
95 95
  * @internal param string $db
96 96
  */
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 
238 238
 //CORP INFO
239 239
 /**
240
- * @param $corpID
240
+ * @param integer $corpID
241 241
  * @param $corpTicker
242 242
  * @param string $corpName
243 243
  */
@@ -246,6 +246,9 @@  discard block
 block discarded – undo
246 246
     dbExecute('REPLACE INTO corpCache (`corpID`, `corpTicker`, `corpName`) VALUES (:corpID,:corpTicker,:corpName)', array(':corpID' => $corpID, ':corpTicker' => $corpTicker, ':corpName' => $corpName));
247 247
 }
248 248
 
249
+/**
250
+ * @param integer $corpID
251
+ */
249 252
 function getCorpInfo($corpID)
250 253
 {
251 254
     return dbQueryRow('SELECT * FROM corpCache WHERE `corpID` = :corpID', array(':corpID' => $corpID));
@@ -290,6 +293,9 @@  discard block
 block discarded – undo
290 293
     return $query['typeName'];
291 294
 }
292 295
 
296
+/**
297
+ * @return string
298
+ */
293 299
 function getSystemID($solarSystemName)
294 300
 {
295 301
     $query = dbQueryRow('SELECT * FROM mapSolarSystems WHERE lower(`solarSystemName`) = :solarSystemName', array(':solarSystemName' => $solarSystemName), 'eve');
Please login to merge, or discard this patch.