@@ -155,7 +155,7 @@ |
||
155 | 155 | /** |
156 | 156 | * Get the total duration of the database queries in milliseconds |
157 | 157 | * |
158 | - * @return float |
|
158 | + * @return integer |
|
159 | 159 | */ |
160 | 160 | public function getDuration() |
161 | 161 | { |
@@ -54,7 +54,7 @@ |
||
54 | 54 | /** |
55 | 55 | * Get the member who was kicked |
56 | 56 | * |
57 | - * @return \Player|\Team |
|
57 | + * @return \Player |
|
58 | 58 | */ |
59 | 59 | public function getKicked() |
60 | 60 | { |
@@ -122,6 +122,8 @@ |
||
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 | { |
@@ -13,7 +13,7 @@ discard block |
||
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 |
||
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 |
||
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 | */ |
@@ -251,7 +251,7 @@ |
||
251 | 251 | * @param string $table The database table that will be searched |
252 | 252 | * @param string|string[] $select The column that will be returned |
253 | 253 | * |
254 | - * @return mixed[] A list of values, if $select was only one column, or the return array of $db->query if it was more |
|
254 | + * @return integer[] A list of values, if $select was only one column, or the return array of $db->query if it was more |
|
255 | 255 | */ |
256 | 256 | protected static function fetchIds($additional_query = '', $types = '', $params = array(), $table = "", $select = 'id') |
257 | 257 | { |
@@ -111,6 +111,7 @@ |
||
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 | { |
@@ -298,7 +298,7 @@ |
||
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) |
@@ -33,8 +33,8 @@ discard block |
||
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 |
||
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) |
@@ -213,7 +213,7 @@ discard block |
||
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 |
||
229 | 229 | } |
230 | 230 | |
231 | 231 | /** |
232 | - * @return bool |
|
232 | + * @return string |
|
233 | 233 | */ |
234 | 234 | public static function isDebug() |
235 | 235 | { |