Dev #16861 sso kidilangues
Merge request reports
Activity
Filter activity
133 protected static function getHighScore($trapped_tests) { 134 return key($trapped_tests); 135 } 136 136 137 protected static function renderScore() { 138 $speed_limit= self::$_speed_limit; 137 139 138 protected static function getHighSpeedTest($trapped_tests) { 139 $high_score_tests = current($trapped_tests); 140 arsort($high_score_tests); 141 return $high_score_tests; 142 } 140 if(1 > ($count = count(self::$_speed_trapped_test))) { 141 print <<<END 142 143 :D http://ljdchost.com/zLWnDY0.gif 141 print <<<END 142 143 :D http://ljdchost.com/zLWnDY0.gif 144 END; 145 146 return; 147 } 143 148 144 145 protected static function renderScore($high_score_in_second, $high_score_tests) { 146 $emot = count($high_score_tests) > 1 ? '😣' : '😄'; 147 $header = $emot.' SpeedTrap score: ' . $high_score_in_second . ' seconds.'; 148 149 print <<<END 149 150 150 $header 151 :( http://ljdchost.com/UlaUCrU.gif
Please register or sign in to reply