mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Type API methods and properties (#14476)
* Type properties * Comment method * Update base_uri child property * Update BingApi.php * Update GoogleMapsApi.php * Update MapquestApi.php * Update NominatimApi.php * Update RipeApi.php * Update phpstan-baseline.neon * Update phpstan-baseline.neon * Fix indent * Fix escaping * Update phpstan-baseline.neon * Update phpstan-baseline.neon * Update phpstan-baseline.neon * Update phpstan-baseline.neon * Update phpstan-baseline.neon * Update phpstan-baseline.neon * Update phpstan-baseline.neon * Update phpstan-baseline.neon * StyleCI indent * Update phpstan-baseline.neon * Make possible for $client to be null * Remove comments * Remove comments * Remove comments * Update MapquestApi.php * Update NominatimApi.php * Remove comments * Remove comments * $base_uri not nullable * $base_uri not nullable * $base_uri not nullable * $base_uri not nullable * $base_uri not nullable * $base_uri not nullable * Type method and properties * Type method and properties * Type method and properties * Type method and properties * Type method and properties * Type method and properties * Type $client * Type method and properties * Remove errors not matched anymore * Fix type errors in graylogapi * Mixed can't be ORed * uri never null * Update app/ApiClients/GraylogApi.php * Fix getAdresses Type * Collection changed its folder? * Fix directory, there was just a backslash missing Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
@@ -6365,96 +6365,6 @@ parameters:
|
||||
count: 1
|
||||
path: app/Actions/Device/ValidateDeviceAndCreate.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\ApiClients\\\\BaseApi\\:\\:\\$base_uri has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/BaseApi.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\ApiClients\\\\BaseApi\\:\\:\\$client has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/BaseApi.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\ApiClients\\\\BingApi\\:\\:\\$base_uri has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/BingApi.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\ApiClients\\\\BingApi\\:\\:\\$geocoding_uri has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/BingApi.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\ApiClients\\\\GoogleMapsApi\\:\\:\\$base_uri has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/GoogleMapsApi.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\ApiClients\\\\GoogleMapsApi\\:\\:\\$geocoding_uri has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/GoogleMapsApi.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\ApiClients\\\\GraylogApi\\:\\:getAddresses\\(\\) has no return type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/GraylogApi.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\ApiClients\\\\GraylogApi\\:\\:getStreams\\(\\) has no return type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/GraylogApi.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\ApiClients\\\\GraylogApi\\:\\:isConfigured\\(\\) has no return type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/GraylogApi.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\ApiClients\\\\GraylogApi\\:\\:\\$api_prefix has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/GraylogApi.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\ApiClients\\\\GraylogApi\\:\\:\\$client has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/GraylogApi.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\ApiClients\\\\MapquestApi\\:\\:\\$base_uri has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/MapquestApi.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\ApiClients\\\\MapquestApi\\:\\:\\$geocoding_uri has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/MapquestApi.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\ApiClients\\\\NominatimApi\\:\\:\\$base_uri has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/NominatimApi.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\ApiClients\\\\NominatimApi\\:\\:\\$geocoding_uri has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/NominatimApi.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\ApiClients\\\\RipeApi\\:\\:\\$abuse_uri has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/RipeApi.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\ApiClients\\\\RipeApi\\:\\:\\$base_uri has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/RipeApi.php
|
||||
|
||||
-
|
||||
message: "#^Property App\\\\ApiClients\\\\RipeApi\\:\\:\\$whois_uri has no type specified\\.$#"
|
||||
count: 1
|
||||
path: app/ApiClients/RipeApi.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Checks\\:\\:postAuth\\(\\) has no return type specified\\.$#"
|
||||
count: 1
|
||||
@@ -11400,3 +11310,4 @@ parameters:
|
||||
count: 1
|
||||
path: tests/YamlSchemaTest.php
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user