@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | /** |
79 | 79 | * Set the url of the notification |
80 | 80 | * |
81 | - * @param $url |
|
81 | + * @param string $url |
|
82 | 82 | * @return $this |
83 | 83 | */ |
84 | 84 | public function url($url) |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | * the generation of your array |
147 | 147 | * |
148 | 148 | * |
149 | - * @param callable|Closure $closure |
|
149 | + * @param Closure $closure |
|
150 | 150 | * @return array|false |
151 | 151 | * @throws NotificationBuilderException |
152 | 152 | */ |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | * send |
247 | 247 | * |
248 | 248 | * @param $from |
249 | - * @param $property |
|
249 | + * @param string $property |
|
250 | 250 | * @return array |
251 | 251 | */ |
252 | 252 | protected function setEntityAction($from, $property) |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Find a category by name |
33 | 33 | * |
34 | - * @param $name |
|
34 | + * @param string $name |
|
35 | 35 | * @throws CategoryNotFoundException |
36 | 36 | * @return mixed |
37 | 37 | */ |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * |
92 | 92 | * @param array $name |
93 | 93 | * @param $text |
94 | - * @return \Fenos\Notifynder\Models\NotificationCategory |
|
94 | + * @return CategoryDB |
|
95 | 95 | */ |
96 | 96 | public function add($name, $text) |
97 | 97 | { |
@@ -69,7 +69,7 @@ |
||
69 | 69 | * |
70 | 70 | * @param array $name |
71 | 71 | * @param $text |
72 | - * @return static |
|
72 | + * @return NotificationCategory |
|
73 | 73 | */ |
74 | 74 | public function add($name, $text) |
75 | 75 | { |
@@ -141,7 +141,7 @@ |
||
141 | 141 | * Check if a string with dots |
142 | 142 | * |
143 | 143 | * @param $name |
144 | - * @return bool |
|
144 | + * @return integer |
|
145 | 145 | */ |
146 | 146 | protected function isStringWithDots($name) |
147 | 147 | { |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | * |
158 | 158 | * @param $name |
159 | 159 | * @param $text |
160 | - * @return static |
|
160 | + * @return Models\NotificationCategory |
|
161 | 161 | */ |
162 | 162 | public function addCategory($name, $text) |
163 | 163 | { |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | * Send notifications |
181 | 181 | * Both multiple and single |
182 | 182 | * |
183 | - * @param array $info |
|
183 | + * @param string[] $info |
|
184 | 184 | * @return mixed |
185 | 185 | */ |
186 | 186 | public function send($info = []) |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | * Send One notification |
209 | 209 | * |
210 | 210 | * @param array $info |
211 | - * @return mixed |
|
211 | + * @return Senders\SendOne |
|
212 | 212 | */ |
213 | 213 | public function sendOne($info = []) |
214 | 214 | { |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | * Given |
261 | 261 | * |
262 | 262 | * @param $to_id |
263 | - * @param $numbers |
|
263 | + * @param integer $numbers |
|
264 | 264 | * @param string $order |
265 | 265 | * @return mixed |
266 | 266 | */ |
@@ -301,7 +301,7 @@ discard block |
||
301 | 301 | * secified of the given entity |
302 | 302 | * |
303 | 303 | * @param $to_id |
304 | - * @param $number |
|
304 | + * @param integer $number |
|
305 | 305 | * @param string $order |
306 | 306 | * @return mixed |
307 | 307 | */ |
@@ -83,7 +83,7 @@ |
||
83 | 83 | * |
84 | 84 | * @param $info |
85 | 85 | * @param $category |
86 | - * @return SendOne |
|
86 | + * @return \Fenos\Notifynder\Models\Notification |
|
87 | 87 | */ |
88 | 88 | public function sendOne($info, $category = null) |
89 | 89 | { |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | /** |
25 | 25 | * Create a new compiler instance. |
26 | 26 | * |
27 | - * @param Filesystem|\Illuminate\Filesystem\Filesystem $files |
|
27 | + * @param Filesystem $files |
|
28 | 28 | */ |
29 | 29 | public function __construct(Filesystem $files) |
30 | 30 | { |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | * Cache the file in json format |
88 | 88 | * |
89 | 89 | * @param array $contents |
90 | - * @return bool|int |
|
90 | + * @return integer |
|
91 | 91 | */ |
92 | 92 | public function cacheFile(array $contents) |
93 | 93 | { |
@@ -42,7 +42,7 @@ |
||
42 | 42 | /** |
43 | 43 | * Execute the console command. |
44 | 44 | * |
45 | - * @return mixed |
|
45 | + * @return false|null |
|
46 | 46 | */ |
47 | 47 | public function fire() |
48 | 48 | { |
@@ -42,7 +42,7 @@ |
||
42 | 42 | /** |
43 | 43 | * Execute the console command. |
44 | 44 | * |
45 | - * @return mixed |
|
45 | + * @return false|null |
|
46 | 46 | */ |
47 | 47 | public function fire() |
48 | 48 | { |