@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * Setup request object for transformer. |
| 49 | 49 | * |
| 50 | 50 | * @param \Illuminate\Http\Request|bool $request |
| 51 | - * @return void |
|
| 51 | + * @return callable |
|
| 52 | 52 | */ |
| 53 | 53 | public function __construct($request = false) |
| 54 | 54 | { |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | /** |
| 73 | 73 | * Return the server variables associated with this variable. |
| 74 | 74 | * |
| 75 | - * @return \Leauge\Fractal\Resource\Collection |
|
| 75 | + * @return null|\League\Fractal\Resource\Collection |
|
| 76 | 76 | */ |
| 77 | 77 | public function includeVariables(ServiceVariable $variable) |
| 78 | 78 | { |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | * Setup request object for transformer. |
| 43 | 43 | * |
| 44 | 44 | * @param \Illuminate\Http\Request|bool $request |
| 45 | - * @return void |
|
| 45 | + * @return callable |
|
| 46 | 46 | */ |
| 47 | 47 | public function __construct($request = false) |
| 48 | 48 | { |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | * Setup request object for transformer. |
| 52 | 52 | * |
| 53 | 53 | * @param \Illuminate\Http\Request|bool $request |
| 54 | - * @return void |
|
| 54 | + * @return callable |
|
| 55 | 55 | */ |
| 56 | 56 | public function __construct($request = false) |
| 57 | 57 | { |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | /** |
| 76 | 76 | * Return the servers associated with this user. |
| 77 | 77 | * |
| 78 | - * @return \Leauge\Fractal\Resource\Collection |
|
| 78 | + * @return null|\League\Fractal\Resource\Collection |
|
| 79 | 79 | */ |
| 80 | 80 | public function includeServers(User $user) |
| 81 | 81 | { |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | /** |
| 90 | 90 | * Return the servers that this user can access. |
| 91 | 91 | * |
| 92 | - * @return \Leauge\Fractal\Resource\Collection |
|
| 92 | + * @return null|\League\Fractal\Resource\Collection |
|
| 93 | 93 | */ |
| 94 | 94 | public function includeAccess(User $user) |
| 95 | 95 | { |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | /** |
| 41 | 41 | * Setup allocation transformer with access to server data. |
| 42 | 42 | * |
| 43 | - * @return void |
|
| 43 | + * @return callable |
|
| 44 | 44 | */ |
| 45 | 45 | public function __construct(Server $server) |
| 46 | 46 | { |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | /** |
| 68 | 68 | * Return a generic array of allocations for this server. |
| 69 | 69 | * |
| 70 | - * @return \Leauge\Fractal\Resource\Collection |
|
| 70 | + * @return \League\Fractal\Resource\Collection |
|
| 71 | 71 | */ |
| 72 | 72 | public function includeAllocations(Server $server) |
| 73 | 73 | { |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | /** |
| 80 | 80 | * Return a generic array of subusers for this server. |
| 81 | 81 | * |
| 82 | - * @return \Leauge\Fractal\Resource\Collection |
|
| 82 | + * @return \League\Fractal\Resource\Collection |
|
| 83 | 83 | */ |
| 84 | 84 | public function includeSubusers(Server $server) |
| 85 | 85 | { |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | /** |
| 92 | 92 | * Return a generic array of allocations for this server. |
| 93 | 93 | * |
| 94 | - * @return \Leauge\Fractal\Resource\Item |
|
| 94 | + * @return \League\Fractal\Resource\Item |
|
| 95 | 95 | */ |
| 96 | 96 | public function includeStats(Server $server) |
| 97 | 97 | { |