Completed
Push — master ( 3a0efc...84f561 )
by Vincenzo
02:28
created
api/Lib/DsManager/Helpers/RandomFiller.php 2 patches
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
 namespace App\Lib\DsManager\Helpers;
5 5
 
6 6
 
7
-use App\Lib\DsManager\Models\Coach;
8
-use App\Lib\DsManager\Models\Player;
9
-use App\Lib\DsManager\Models\Team;
7
+use App\Lib\DsManager\Models\Coach;
8
+use App\Lib\DsManager\Models\Player;
9
+use App\Lib\DsManager\Models\Team;
10 10
 use App\Lib\Helpers\Config;
11 11
 
12 12
 /**
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
 
48 48
     /**
49
-     * @param null $forcedRole
49
+     * @param string|null $forcedRole
50 50
      * @param null $locale
51 51
      * @return Player
52 52
      */
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     }
150 150
 
151 151
     /**
152
-     * @param $locale
152
+     * @param string $locale
153 153
      * @return mixed
154 154
      */
155 155
     private function nationalityFromLocale($locale)
Please login to merge, or discard this patch.
api/Lib/DsManager/Models/MatchResult.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * MatchResult constructor.
34
-     * @param $goalHome
35
-     * @param $goalAway
34
+     * @param integer $goalHome
35
+     * @param integer $goalAway
36 36
      * @param Team $home
37 37
      * @param Team $away
38 38
      */
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Lib\DsManager\Models;
4 4
 
5
-use App\Lib\DsManager\Helpers\Randomizer;
6
-use App\Lib\DsManager\Models\Common\DsManagerModel;
5
+use App\Lib\DsManager\Helpers\Randomizer;
6
+use App\Lib\DsManager\Models\Common\DsManagerModel;
7 7
 use App\Lib\Helpers\Config;
8 8
 
9 9
 
Please login to merge, or discard this patch.
api/Lib/DsManager/Models/Match.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Lib\DsManager\Models;
4 4
 
5
-use App\Lib\DsManager\Helpers\Randomizer;
5
+use App\Lib\DsManager\Helpers\Randomizer;
6 6
 use App\Lib\Helpers\Config;
7 7
 
8 8
 
Please login to merge, or discard this patch.
api/Lib/DsManager/Helpers/MatchSimulator.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 namespace App\Lib\DsManager\Helpers;
5 5
 
6 6
 
7
-use App\Lib\DsManager\Models\Orm\Match;
8 7
 use App\Lib\DsManager\Models\Orm\Match as MatchOrm;
9 8
 use App\Lib\DsManager\Models\Orm\MatchResult;
10 9
 
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
     /**
36 36
      * @param $matchId
37
-     * @return mixed
37
+     * @return MatchResult
38 38
      */
39 39
     public static function simulateCompleteResult($matchId)
40 40
     {
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
     /**
52 52
      * @param $matchId
53
-     * @return mixed
53
+     * @return MatchResult
54 54
      */
55 55
     public static function simulateSimpleResult($matchId)
56 56
     {
Please login to merge, or discard this patch.
api/index.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@
 block discarded – undo
4 4
 require_once("vendor/autoload.php");
5 5
 
6 6
 
7
-use App\Lib\DsManager\Helpers\MatchSimulator;
8
-use App\Lib\DsManager\Models\Orm\League;
9
-use App\Lib\DsManager\Models\Orm\LeagueRound;
10
-use App\Lib\DsManager\Models\Orm\Match;
7
+use App\Lib\DsManager\Helpers\MatchSimulator;
8
+use App\Lib\DsManager\Models\Orm\League;
9
+use App\Lib\DsManager\Models\Orm\LeagueRound;
10
+use App\Lib\DsManager\Models\Orm\Match;
11 11
 use App\Lib\DsManager\Models\Orm\MatchResult;
12 12
 use \App\Lib\Helpers\Responder;
13 13
 use \App\Lib\DsManager\Models\Orm\Player;
Please login to merge, or discard this patch.
api/Lib/DsManager/Models/Orm/Team.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-     * @return \Illuminate\Database\Eloquent\Relations\HasMany
41
+     * @return \Illuminate\Database\Eloquent\Relations\HasOne
42 42
      */
43 43
     public function coach()
44 44
     {
Please login to merge, or discard this patch.