| @@ -53,7 +53,7 @@ discard block | ||
| 53 | 53 | * Find a notification by ID. | 
| 54 | 54 | * | 
| 55 | 55 | * @param $notificationId | 
| 56 | - * @return NotificationModel|\Illuminate\Database\Eloquent\Model|static | |
| 56 | + * @return NotificationModel | |
| 57 | 57 | * @throws \Fenos\Notifynder\Exceptions\NotificationNotFoundException | 
| 58 | 58 | */ | 
| 59 | 59 | public function find($notificationId) | 
| @@ -89,7 +89,7 @@ discard block | ||
| 89 | 89 | * @param $toId | 
| 90 | 90 | * @param $numbers | 
| 91 | 91 | * @param string $order | 
| 92 | - * @return mixed | |
| 92 | + * @return integer | |
| 93 | 93 | */ | 
| 94 | 94 | public function readLimit($toId, $numbers, $order = 'ASC') | 
| 95 | 95 |      { | 
| @@ -128,7 +128,7 @@ discard block | ||
| 128 | 128 | * @param $entityId | 
| 129 | 129 | * @param $number | 
| 130 | 130 | * @param $order | 
| 131 | - * @return mixed | |
| 131 | + * @return integer | |
| 132 | 132 | */ | 
| 133 | 133 | public function deleteLimit($entityId, $number, $order = 'asc') | 
| 134 | 134 |      { | 
| @@ -218,6 +218,9 @@ discard block | ||
| 218 | 218 | return ! ($paginate === false || is_null($paginate)); | 
| 219 | 219 | } | 
| 220 | 220 | |
| 221 | + /** | |
| 222 | + * @param integer|null $paginate | |
| 223 | + */ | |
| 221 | 224 | protected function getPaginatedIfNeeded(NotifynderCollection $notifications, $perPage, $paginate) | 
| 222 | 225 |      { | 
| 223 | 226 |          if (! $this->isPaginated($paginate)) { | 
| @@ -266,7 +269,7 @@ discard block | ||
| 266 | 269 | * Send single notification. | 
| 267 | 270 | * | 
| 268 | 271 | * @param array $info | 
| 269 | - * @return static | |
| 272 | + * @return NotificationModel | |
| 270 | 273 | */ | 
| 271 | 274 | public function sendOne(array $info) | 
| 272 | 275 |      { |