Completed
Push — fm-support ( 67f3c2...5f26cf )
by Vladimir
04:53
created
src/Form/Creator/ProfileFormCreator.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -122,6 +122,8 @@
 block discarded – undo
122 122
 
123 123
     /**
124 124
      * {@inheritdoc}
125
+     * @param \Symfony\Component\Form\Form $form
126
+     * @param \Player $player
125 127
      */
126 128
     public function update($form, $player)
127 129
     {
Please login to merge, or discard this patch.
src/Form/Transformer/AdvancedModelTransformer.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     protected $types;
14 14
 
15 15
     /**
16
-     * @param string[] $type     The types of the models
16
+     * @param string[] $types     The types of the models
17 17
      */
18 18
     public function __construct(array $types)
19 19
     {
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * Transforms an object (model) to the form representation
29 29
      *
30
-     * @param  Model|null $model
30
+     * @param  Model|null $models
31 31
      * @return array
32 32
      */
33 33
     public function transform($models)
@@ -101,10 +101,9 @@  discard block
 block discarded – undo
101 101
     /**
102 102
      * Transform JSON data provided by javascript to a list of Models
103 103
      *
104
-     * @param  string $json The JSON provided to us by javascript, containing
105
-     *                      a list of Model IDs and types
106 104
      * @param  array  $include An array of Models of each type that will be
107 105
      *                         included in the final result
106
+     * @param string $data
108 107
      * @return bool|Model[] A list of models, or false if the data was not
109 108
      *                         provided by javascript as JSON
110 109
      */
Please login to merge, or discard this patch.
src/Model/CachedModel.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -111,6 +111,7 @@
 block discarded – undo
111 111
 
112 112
     /**
113 113
      * {@inheritdoc}
114
+     * @param string $types
114 115
      */
115 116
     protected static function create($params, $types, $now = null, $table = '')
116 117
     {
Please login to merge, or discard this patch.
src/QueryBuilder/QueryBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -298,7 +298,7 @@
 block discarded – undo
298 298
     /**
299 299
      * Request that a specific model is not returned
300 300
      *
301
-     * @param  Model|int $model The ID or model you don't want to get
301
+     * @param  Player $model The ID or model you don't want to get
302 302
      * @return self
303 303
      */
304 304
     public function except($model)
Please login to merge, or discard this patch.
src/Search/MessageSearch.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * Create a new message search
35 35
      *
36
-     * @param MessageQueryBuilder $queryBuilder The MySQL query builder for messages
37
-     * @param Player|null         $player       The player to make the search for
36
+     * @param \MessageQueryBuilder $queryBuilder The MySQL query builder for messages
37
+     * @param null|\Player         $player       The player to make the search for
38 38
      */
39 39
     public function __construct(\MessageQueryBuilder $queryBuilder, \Player $player = null)
40 40
     {
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     /**
97 97
      * Perform a search on messages using the data stored in the MySQL database
98 98
      *
99
-     * @param  string    $query The query string
99
+     * @param string $search
100 100
      * @return Message[] The results of the search
101 101
      */
102 102
     private function mysqlSearch($search)
Please login to merge, or discard this patch.
src/Service.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
     }
214 214
 
215 215
     /**
216
-     * @param $kernel
216
+     * @param AppKernel $kernel
217 217
      */
218 218
     public static function setKernel($kernel)
219 219
     {
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
     }
230 230
 
231 231
     /**
232
-     * @return bool
232
+     * @return string
233 233
      */
234 234
     public static function isDebug()
235 235
     {
Please login to merge, or discard this patch.
src/Model/Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
      * Useful for form validation
148 148
      *
149 149
      * @param  string $property The name of the property to change
150
-     * @param  mixed  $value    The value of the property
150
+     * @param  string  $value    The value of the property
151 151
      * @return self
152 152
      */
153 153
     protected function inject($property, $value)
Please login to merge, or discard this patch.
models/Match.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -471,7 +471,7 @@
 block discarded – undo
471 471
      * Set the server address of the server where this match took place
472 472
      *
473 473
      * @param  string|null $server The server hostname
474
-     * @param  int|null    $port   The server port
474
+     * @param  integer    $port   The server port
475 475
      * @return self
476 476
      */
477 477
     public function setServerAddress($server = null, $port = 5154)
Please login to merge, or discard this patch.
src/Form/Creator/MatchFormCreator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@
 block discarded – undo
160 160
      * Get the player list of a team
161 161
      *
162 162
      * @param FormInterface $team A MatchTeamType form
163
-     * @return array
163
+     * @return integer[]
164 164
      */
165 165
     private function getPlayerList(FormInterface $team)
166 166
     {
Please login to merge, or discard this patch.