diff --git a/src/Illuminate/Database/Eloquent/ModelNotFoundException.php b/src/Illuminate/Database/Eloquent/ModelNotFoundException.php index c35598bdbf46..1dcf2e5a4f3c 100755 --- a/src/Illuminate/Database/Eloquent/ModelNotFoundException.php +++ b/src/Illuminate/Database/Eloquent/ModelNotFoundException.php @@ -10,22 +10,22 @@ class ModelNotFoundException extends RecordsNotFoundException /** * Name of the affected Eloquent model. * - * @var string + * @var class-string<\Illuminate\Database\Eloquent\Model> */ protected $model; /** * The affected model IDs. * - * @var int|array + * @var array|array */ protected $ids; /** * Set the affected Eloquent model and instance ids. * - * @param string $model - * @param int|array $ids + * @param class-string<\Illuminate\Database\Eloquent\Model> $model + * @param int|array|string|array $ids * @return $this */ public function setModel($model, $ids = []) @@ -47,7 +47,7 @@ public function setModel($model, $ids = []) /** * Get the affected Eloquent model. * - * @return string + * @return class-string<\Illuminate\Database\Eloquent\Model> */ public function getModel() { @@ -57,7 +57,7 @@ public function getModel() /** * Get the affected Eloquent model IDs. * - * @return int|array + * @return array|array */ public function getIds() {