@@ -64,7 +64,7 @@ |
||
64 | 64 | * Returns the hash information for a pack. |
65 | 65 | * |
66 | 66 | * @param \Illuminate\Http\Request $request |
67 | - * @return \Illuminate\Http\Response |
|
67 | + * @return \Illuminate\Http\JsonResponse |
|
68 | 68 | */ |
69 | 69 | public function hash(Request $request, $uuid) |
70 | 70 | { |
@@ -45,7 +45,7 @@ |
||
45 | 45 | * caching purposes. |
46 | 46 | * |
47 | 47 | * @param \Illuminate\Http\Request $request |
48 | - * @return \Illuminate\Http\Response |
|
48 | + * @return \Illuminate\Http\JsonResponse |
|
49 | 49 | */ |
50 | 50 | public function list(Request $request) |
51 | 51 | { |
@@ -42,6 +42,7 @@ discard block |
||
42 | 42 | /** |
43 | 43 | * Create a new notification instance. |
44 | 44 | * |
45 | + * @param string $token |
|
45 | 46 | * @return void |
46 | 47 | */ |
47 | 48 | public function __construct($token) |
@@ -53,7 +54,7 @@ discard block |
||
53 | 54 | * Get the notification's delivery channels. |
54 | 55 | * |
55 | 56 | * @param mixed $notifiable |
56 | - * @return array |
|
57 | + * @return string[] |
|
57 | 58 | */ |
58 | 59 | public function via($notifiable) |
59 | 60 | { |
@@ -65,7 +65,6 @@ |
||
65 | 65 | /** |
66 | 66 | * Constructor. |
67 | 67 | * |
68 | - * @param string $server The server Short UUID |
|
69 | 68 | */ |
70 | 69 | public function __construct($uuid) |
71 | 70 | { |
@@ -35,6 +35,9 @@ |
||
35 | 35 | protected $node; |
36 | 36 | protected $client; |
37 | 37 | |
38 | + /** |
|
39 | + * @param Models\Server $server |
|
40 | + */ |
|
38 | 41 | public function __construct($server) |
39 | 42 | { |
40 | 43 | $this->server = ($server instanceof Models\Server) ? $server : Models\Server::findOrFail($server); |
@@ -35,6 +35,9 @@ |
||
35 | 35 | // |
36 | 36 | } |
37 | 37 | |
38 | + /** |
|
39 | + * @param string $error |
|
40 | + */ |
|
38 | 41 | public static function log(Request $request, $error = null, $authorized = false) |
39 | 42 | { |
40 | 43 | if ($request->bearerToken() && ! empty($request->bearerToken())) { |