@@ -75,6 +75,7 @@ |
||
75 | 75 | * '127.0.0.1/32' - accessible from ip range |
76 | 76 | * false - disabled access |
77 | 77 | * |
78 | + * @param string|null $ipRestrictions |
|
78 | 79 | * @return boolean |
79 | 80 | */ |
80 | 81 | private function isValidIp(?string $ipRestrictions): bool |
@@ -3,8 +3,8 @@ |
||
3 | 3 | namespace Tomaj\NetteApi\Component; |
4 | 4 | |
5 | 5 | use Nette\Application\UI\Control; |
6 | -use Tomaj\NetteApi\ApiDecider; |
|
7 | 6 | use Tomaj\NetteApi\Api; |
7 | +use Tomaj\NetteApi\ApiDecider; |
|
8 | 8 | |
9 | 9 | class ApiListingControl extends Control |
10 | 10 | { |