@@ -209,7 +209,7 @@ |
||
| 209 | 209 | /** |
| 210 | 210 | * Begin querying the model. |
| 211 | 211 | * |
| 212 | - * @return \Childish\query\Builder |
|
| 212 | + * @return ModelManager |
|
| 213 | 213 | */ |
| 214 | 214 | public static function query() |
| 215 | 215 | { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | * Create a new Eloquent query builder instance. |
| 51 | 51 | * |
| 52 | 52 | * @param \Childish\query\Builder $query |
| 53 | - * @return mixed|void |
|
| 53 | + * @return ChildishModel |
|
| 54 | 54 | */ |
| 55 | 55 | public function __construct(Builder $query) |
| 56 | 56 | { |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | /** |
| 169 | 169 | * Execute the query and get the first result. |
| 170 | 170 | * |
| 171 | - * @param array $columns |
|
| 171 | + * @param string[] $columns |
|
| 172 | 172 | * @return \Childish\ChildishModel|static|null |
| 173 | 173 | */ |
| 174 | 174 | public function first($columns = ['*']) |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | /** |
| 266 | 266 | * Delete a record from the database. |
| 267 | 267 | * |
| 268 | - * @return mixed |
|
| 268 | + * @return integer |
|
| 269 | 269 | */ |
| 270 | 270 | public function delete() |
| 271 | 271 | { |
@@ -380,7 +380,7 @@ discard block |
||
| 380 | 380 | * Determine if a given string ends with a given substring. |
| 381 | 381 | * |
| 382 | 382 | * @param string $haystack |
| 383 | - * @param string|array $needles |
|
| 383 | + * @param string[] $needles |
|
| 384 | 384 | * @return bool |
| 385 | 385 | */ |
| 386 | 386 | public static function endsWith($haystack, $needles) |
@@ -660,7 +660,7 @@ discard block |
||
| 660 | 660 | * Basename |
| 661 | 661 | * |
| 662 | 662 | * @static |
| 663 | - * @param $class |
|
| 663 | + * @param \Childish\ChildishModel $class |
|
| 664 | 664 | * @return string |
| 665 | 665 | */ |
| 666 | 666 | public static function Basename($class) |