Completed
Push — feature/pixie-port ( b3acf3...e69309 )
by Vladimir
03:27
created
src/Model/BaseModel.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
      * Query the database to get the eager column values for the Model
238 238
      *
239 239
      * @param $id int The ID of the model to fetch
240
-     * @return array|null The results or null if a model wasn't found
240
+     * @return null|stdClass The results or null if a model wasn't found
241 241
      */
242 242
     protected static function fetchColumnValues($id)
243 243
     {
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
      * Counts the elements of the database that match a specific query
259 259
      *
260 260
      * @param  string $additional_query The MySQL query string (e.g. `WHERE id = ?`)
261
-     * @param  array  $params           The parameter values that will be passed to Database::query()
261
+     * @param  integer  $params           The parameter values that will be passed to Database::query()
262 262
      * @param  string $table            The database table that will be searched, defaults to the model's table
263 263
      * @param  string $column           Only count the entries where `$column` is not `NULL` (or all if `$column` is `*`)
264 264
      * @return int
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
      * @param string          $column           The name of the column that should be tested
325 325
      * @param array|mixed     $possible_values  List of acceptable values
326 326
      * @param bool            $negate           Whether to search if the value of $column does NOT belong to the $possible_values array
327
-     * @param string|string[] $select           The name of the column(s) that the returned array should contain
327
+     * @param string $select           The name of the column(s) that the returned array should contain
328 328
      * @param string          $additional_query Additional parameters to be passed to the MySQL query (e.g. `WHERE id = 5`)
329 329
      * @param string          $table            The database table which will be used for queries
330 330
      *
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
      * @deprecated 0.10.2 This function has been removed and is no longer required with the new query builder
396 396
      *
397 397
      * @param string|null $prefix  The table name or SQL alias to be prepend to these columns
398
-     * @param array       $columns The columns to format
398
+     * @param string[]       $columns The columns to format
399 399
      *
400 400
      * @return string
401 401
      */
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
      *
456 456
      * @since 0.11.0
457 457
      *
458
-     * @return array
458
+     * @return string[]
459 459
      */
460 460
     public static function getEagerColumnsList()
461 461
     {
Please login to merge, or discard this patch.