Passed
Branch dev-1.6.x (5fe494)
by Boudry
03:05
created
lib/Election.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -448,6 +448,9 @@  discard block
 block discarded – undo
448 448
             endif;
449 449
         }
450 450
 
451
+        /**
452
+         * @return integer
453
+         */
451 454
         public function getCandidateId (int $candidate_key, bool $onlyName = false)
452 455
         {
453 456
             if (!array_key_exists($candidate_key, $this->_Candidates)) :
@@ -978,6 +981,9 @@  discard block
 block discarded – undo
978 981
 
979 982
     //:: GET RAW DATA :://
980 983
 
984
+    /**
985
+     * @return Pairwise
986
+     */
981 987
     public function getPairwise (bool $explicit = true)
982 988
     {
983 989
         $this->prepareResult();
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,11 +15,9 @@
 block discarded – undo
15 15
 use Condorcet\Result;
16 16
 use Condorcet\CondorcetUtil;
17 17
 use Condorcet\Vote;
18
-use Condorcet\Algo\Pairwise;
19 18
 use Condorcet\DataManager\VotesManager;
20 19
 use Condorcet\DataManager\DataHandlerDrivers\DataHandlerDriverInterface;
21 20
 use Condorcet\ElectionProcess\ResultManager;
22
-use Condorcet\Timer\Chrono as Timer_Chrono;
23 21
 use Condorcet\Timer\Manager as Timer_Manager;
24 22
 
25 23
 
Please login to merge, or discard this patch.
lib/Condorcet.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 namespace Condorcet;
11 11
 
12 12
 use Condorcet\CondorcetException;
13
-use Condorcet\Result;
14 13
 
15 14
 // Registering native Condorcet Methods implementation
16 15
 Condorcet::addMethod(__NAMESPACE__.'\\Algo\\Methods\\Copeland');
Please login to merge, or discard this patch.