Completed
Branch master (09dc0e)
by Igor
08:08
created
src/Models/Character.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     }
177 177
 
178 178
     /**
179
-     * @return array
179
+     * @return Collection
180 180
      */
181 181
     public function getFormerNames(): Collection
182 182
     {
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
     }
281 281
 
282 282
     /**
283
-     * @return Achievement[]
283
+     * @return Collection
284 284
      */
285 285
     public function getAchievements(): Collection
286 286
     {
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
     }
289 289
 
290 290
     /**
291
-     * @return Death[]
291
+     * @return Collection
292 292
      */
293 293
     public function getDeaths(): Collection
294 294
     {
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
     }
305 305
 
306 306
     /**
307
-     * @return OtherCharacter[]
307
+     * @return Collection
308 308
      */
309 309
     public function getOtherCharacters(): Collection
310 310
     {
Please login to merge, or discard this patch.
src/Models/Guild/Invited.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 
20 20
     /**
21 21
      * Invited constructor.
22
-     * @param  array  $invitee
22
+     * @param  Collection  $invitee
23 23
      * @throws ImmutableException
24 24
      */
25 25
     public function __construct(Collection $invitee)
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     }
31 31
 
32 32
     /**
33
-     * @return Invitee[]
33
+     * @return Collection
34 34
      */
35 35
     public function getInvitee(): Collection
36 36
     {
Please login to merge, or discard this patch.
src/Models/Guild/Members.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * Members constructor.
26 26
      * @param  string  $rankTitle
27
-     * @param  array  $characters
27
+     * @param  Collection  $characters
28 28
      * @throws ImmutableException
29 29
      */
30 30
     public function __construct(string $rankTitle, Collection $characters)
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-     * @return Character[]
47
+     * @return Collection
48 48
      */
49 49
     public function getCharacters(): Collection
50 50
     {
Please login to merge, or discard this patch.
src/Models/Guilds.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * Guilds constructor.
32 32
      * @param  string  $world
33
-     * @param  array  $active
34
-     * @param  array  $formation
33
+     * @param  Collection  $active
34
+     * @param  Collection  $formation
35 35
      * @throws ImmutableException
36 36
      */
37 37
     public function __construct(string $world, Collection $active, Collection $formation)
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     }
53 53
 
54 54
     /**
55
-     * @return Guild[]
55
+     * @return Collection
56 56
      */
57 57
     public function getActive(): Collection
58 58
     {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-     * @return Guild[]
63
+     * @return Collection
64 64
      */
65 65
     public function getFormation(): Collection
66 66
     {
Please login to merge, or discard this patch.
src/Models/Highscores.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      *
32 32
      * @param  string  $world
33 33
      * @param  string  $category
34
-     * @param  array  $highscores
34
+     * @param  Collection  $highscores
35 35
      * @throws \Igorsgm\TibiaDataApi\Exceptions\ImmutableException
36 36
      */
37 37
     public function __construct(string $world, string $category, Collection $highscores)
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-     * @return Character[]
63
+     * @return Collection
64 64
      */
65 65
     public function getHighscores(): Collection
66 66
     {
Please login to merge, or discard this patch.
src/Models/World.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     }
144 144
 
145 145
     /**
146
-     * @return array
146
+     * @return Collection
147 147
      */
148 148
     public function getWorldQuestTitles(): Collection
149 149
     {
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     }
160 160
 
161 161
     /**
162
-     * @return Character[]
162
+     * @return Collection
163 163
      */
164 164
     public function getPlayersOnline(): Collection
165 165
     {
Please login to merge, or discard this patch.
src/Models/Worlds.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * Worlds constructor.
26 26
      * @param  int  $online
27
-     * @param  array  $worlds
27
+     * @param  Collection  $worlds
28 28
      * @throws \Igorsgm\TibiaDataApi\Exceptions\ImmutableException
29 29
      */
30 30
     public function __construct(int $online, Collection $worlds)
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-     * @return World[]
47
+     * @return Collection
48 48
      */
49 49
     public function getWorlds(): Collection
50 50
     {
Please login to merge, or discard this patch.
src/TibiaDataApi.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * TibiaDataApi constructor.
28
-     * @param  Container  $container
29 28
      */
30 29
     public function __construct()
31 30
     {
Please login to merge, or discard this patch.