Passed
Push — master ( 0e4958...46624d )
by Matthew
03:42 queued 01:13
created
api/Domain/Models/PickSearchModel.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@
 block discarded – undo
21 21
   /** @var string */
22 22
   public $player_results;
23 23
 
24
+  /**
25
+   * @param integer $draft_id
26
+   */
24 27
   public function __construct($draft_id, $keywords, $team, $position, $sort) {
25 28
     $this->draft_id = $draft_id;
26 29
     $this->keywords = $keywords;
Please login to merge, or discard this patch.
api/Domain/Repositories/DraftRepository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -465,6 +465,9 @@
 block discarded – undo
465 465
     return;
466 466
   }
467 467
 
468
+  /**
469
+   * @param integer $draft_id
470
+   */
468 471
   private function ResetDraftCache($draft_id) {
469 472
     $draft = $this->Load($draft_id, true);
470 473
   }
Please login to merge, or discard this patch.
api/Domain/Repositories/PickRepository.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -324,6 +324,9 @@  discard block
 block discarded – undo
324 324
     return $picks;
325 325
   }
326 326
 
327
+  /**
328
+   * @param integer $draft_round
329
+   */
327 330
   public function LoadRoundPicks(Draft $draft, $draft_round, $sort_ascending = true, $selected = true) {
328 331
     $picks = array();
329 332
     $sortOrder = $sort_ascending ? "ASC" : "DESC";
@@ -361,7 +364,6 @@  discard block
 block discarded – undo
361 364
 
362 365
   /**
363 366
    * Searches for picks with strict criteria, using the MATCH() and score method. Sorts by score ASC first, then pick DESC last.
364
-   * @param int $draft_id 
365 367
    */
366 368
   public function SearchStrict(PickSearchModel $searchModel) {
367 369
     $draft_id = (int) $searchModel->draft_id;
@@ -411,7 +413,6 @@  discard block
 block discarded – undo
411 413
 
412 414
   /**
413 415
    * Search picks by a loose criteria that uses a LIKE %% query. Used if strict query returns 0 results. Sorts by pick DESC.
414
-   * @param int $draft_id 
415 416
    */
416 417
   public function SearchLoose(PickSearchModel $searchModel) {
417 418
     $draft_id = (int) $searchModel->draft_id;
@@ -475,7 +476,6 @@  discard block
 block discarded – undo
475 476
 
476 477
   /**
477 478
    * Search picks by assuming a first + last combo was entered. Used if strict and loose queries return 0 and theres a space in the name. Sorts by pick DESC.
478
-   * @param int $draft_id 
479 479
    */
480 480
   public function SearchSplit(PickSearchModel $searchModel, $first_name, $last_name) {
481 481
     $draft_id = (int) $searchModel->draft_id;
Please login to merge, or discard this patch.
api/Domain/Repositories/ProPlayerRepository.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 
121 121
   /**
122 122
    * Delete existing players for a given league, upload new players
123
-   * @param array $players Array of pro_player_object's
123
+   * @param array $proPlayers Array of pro_player_object's
124 124
    */
125 125
   public function SaveProPlayers($league, $proPlayers) {
126 126
     $delete_sql = "DELETE FROM pro_players WHERE league = '" . $league . "'";
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
 
141 141
    /**
142 142
    * Adds a new pro player to the DB
143
-   * @return boolean success whether or not the database operation succeeded.
143
+   * @return ProPlayer success whether or not the database operation succeeded.
144 144
    */
145 145
   private function _saveProPlayer(ProPlayer $proPlayer) {
146 146
     if ($proPlayer->pro_player_id > 0) {
Please login to merge, or discard this patch.