Completed
Push — master ( 5a137a...3c4bc8 )
by
unknown
10:27 queued 10:20
created
src/Notifynder/Notifications/NotificationManager.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.