diff --git a/app/Models/ApiKey.php b/app/Models/ApiKey.php index 6b6ecaadf..375c2124d 100644 --- a/app/Models/ApiKey.php +++ b/app/Models/ApiKey.php @@ -81,7 +81,7 @@ class ApiKey extends Model /** * Get the user * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function user(): BelongsTo { diff --git a/app/Models/AtlasMeasurement.php b/app/Models/AtlasMeasurement.php index 7e12177e0..7d55b4771 100644 --- a/app/Models/AtlasMeasurement.php +++ b/app/Models/AtlasMeasurement.php @@ -104,7 +104,7 @@ class AtlasMeasurement extends Model /** * Get the atlas run * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function atlasRun(): BelongsTo { @@ -114,7 +114,7 @@ public function atlasRun(): BelongsTo /** * Get the customer source * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function custSource(): BelongsTo { @@ -124,7 +124,7 @@ public function custSource(): BelongsTo /** * Get the customer destination * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function custDest(): BelongsTo { @@ -134,7 +134,7 @@ public function custDest(): BelongsTo /** * Get the atlas result for a measurement * - * @psalm-return HasOne + * @psalm-return HasOne */ public function atlasResult(): HasOne { diff --git a/app/Models/AtlasProbe.php b/app/Models/AtlasProbe.php index c48bc8db1..e09c1102d 100644 --- a/app/Models/AtlasProbe.php +++ b/app/Models/AtlasProbe.php @@ -110,7 +110,7 @@ class AtlasProbe extends Model /** * Get the customer that owns the Atlas probe * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { diff --git a/app/Models/AtlasResult.php b/app/Models/AtlasResult.php index bbd7f5aa8..f1d0bd93b 100644 --- a/app/Models/AtlasResult.php +++ b/app/Models/AtlasResult.php @@ -76,7 +76,7 @@ class AtlasResult extends Model /** * Get the atlas measurement * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function atlasMeasurement(): BelongsTo { diff --git a/app/Models/AtlasRun.php b/app/Models/AtlasRun.php index 43c678198..e7050009d 100644 --- a/app/Models/AtlasRun.php +++ b/app/Models/AtlasRun.php @@ -103,7 +103,7 @@ class AtlasRun extends Model /** * Get the atlas measurements * - * @psalm-return HasMany + * @psalm-return HasMany */ public function atlasMeasurements(): HasMany { @@ -113,7 +113,7 @@ public function atlasMeasurements(): HasMany /** * Get the vlan * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function vlan(): BelongsTo { diff --git a/app/Models/Cabinet.php b/app/Models/Cabinet.php index 52e4f6390..fb76838bc 100644 --- a/app/Models/Cabinet.php +++ b/app/Models/Cabinet.php @@ -115,7 +115,7 @@ class Cabinet extends Model /** * Get the switchers for the cabinet * - * @psalm-return HasMany + * @psalm-return HasMany */ public function switchers(): HasMany { @@ -125,7 +125,7 @@ public function switchers(): HasMany /** * Get the customerEquipments for the cabinet * - * @psalm-return HasMany + * @psalm-return HasMany */ public function customerEquipment(): HasMany { @@ -135,7 +135,7 @@ public function customerEquipment(): HasMany /** * Get the console servers for the cabinet * - * @psalm-return HasMany + * @psalm-return HasMany */ public function consoleServers(): HasMany { @@ -145,7 +145,7 @@ public function consoleServers(): HasMany /** * Get the patch panels for the cabinet * - * @psalm-return HasMany + * @psalm-return HasMany */ public function patchPanels(): HasMany { @@ -155,7 +155,7 @@ public function patchPanels(): HasMany /** * Get the location for the cabinet * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function location(): BelongsTo { diff --git a/app/Models/CompanyBillingDetail.php b/app/Models/CompanyBillingDetail.php index 453a3a207..7e24f4a08 100644 --- a/app/Models/CompanyBillingDetail.php +++ b/app/Models/CompanyBillingDetail.php @@ -140,7 +140,7 @@ class CompanyBillingDetail extends Model /** * Get the customer for the company billing detail * - * @psalm-return HasOne + * @psalm-return HasOne */ public function customer(): HasOne { diff --git a/app/Models/CompanyRegisteredDetail.php b/app/Models/CompanyRegisteredDetail.php index 821a53f04..4d9e759b6 100644 --- a/app/Models/CompanyRegisteredDetail.php +++ b/app/Models/CompanyRegisteredDetail.php @@ -97,7 +97,7 @@ class CompanyRegisteredDetail extends Model /** * Get the customer for the company registered detail * - * @psalm-return HasOne + * @psalm-return HasOne */ public function customer(): HasOne { diff --git a/app/Models/ConsoleServer.php b/app/Models/ConsoleServer.php index dd5a7b955..dc071156c 100644 --- a/app/Models/ConsoleServer.php +++ b/app/Models/ConsoleServer.php @@ -96,7 +96,7 @@ class ConsoleServer extends Model /** * Get the vendor that own the console server * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function vendor(): BelongsTo { @@ -106,7 +106,7 @@ public function vendor(): BelongsTo /** * Get the cabinet that own the console server * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function cabinet(): BelongsTo { @@ -116,7 +116,7 @@ public function cabinet(): BelongsTo /** * Get the console server connections for the console server * - * @psalm-return HasMany + * @psalm-return HasMany */ public function consoleServerConnections(): HasMany { diff --git a/app/Models/ConsoleServerConnection.php b/app/Models/ConsoleServerConnection.php index f9a3895e4..72345a13d 100644 --- a/app/Models/ConsoleServerConnection.php +++ b/app/Models/ConsoleServerConnection.php @@ -143,7 +143,7 @@ class ConsoleServerConnection extends Model /** * Get the customer that own the console server connection * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { @@ -153,7 +153,7 @@ public function customer(): BelongsTo /** * Get the customer that own the console server connection * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function switcher(): BelongsTo { @@ -163,7 +163,7 @@ public function switcher(): BelongsTo /** * Get the console server that own the console server connection * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function consoleServer(): BelongsTo { diff --git a/app/Models/Contact.php b/app/Models/Contact.php index 3ccc4e1fa..fa1ccfbc5 100644 --- a/app/Models/Contact.php +++ b/app/Models/Contact.php @@ -136,7 +136,7 @@ public function contactGroupsAll(): BelongsToMany /** * Get the customer that own the contact * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { diff --git a/app/Models/ContactGroup.php b/app/Models/ContactGroup.php index 7267e3279..6edb0d53b 100644 --- a/app/Models/ContactGroup.php +++ b/app/Models/ContactGroup.php @@ -87,7 +87,7 @@ class ContactGroup extends Model ]; /** - * @psalm-return BelongsToMany + * @psalm-return BelongsToMany */ public function contacts(): BelongsToMany { diff --git a/app/Models/CoreBundle.php b/app/Models/CoreBundle.php index 8d7a8b77f..8506ece82 100644 --- a/app/Models/CoreBundle.php +++ b/app/Models/CoreBundle.php @@ -128,7 +128,7 @@ class CoreBundle extends Model /** * Get the corelinks that belong to the corebundle * - * @psalm-return HasMany + * @psalm-return HasMany */ public function corelinks(): HasMany { diff --git a/app/Models/CoreInterface.php b/app/Models/CoreInterface.php index d4d92551f..ad8c7597d 100644 --- a/app/Models/CoreInterface.php +++ b/app/Models/CoreInterface.php @@ -60,7 +60,7 @@ class CoreInterface extends Model /** * Get the physical interface associated with the core interface. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function physicalInterface(): BelongsTo { @@ -70,7 +70,7 @@ public function physicalInterface(): BelongsTo /** * Get the corelink associated with the core interface side A. * - * @psalm-return HasOne + * @psalm-return HasOne */ public function coreLinkSideA(): HasOne { @@ -80,7 +80,7 @@ public function coreLinkSideA(): HasOne /** * Get the corelink associated with the core interface side B. * - * @psalm-return HasOne + * @psalm-return HasOne */ public function coreLinkSideB(): HasOne { diff --git a/app/Models/CoreLink.php b/app/Models/CoreLink.php index 0fb3e4201..97d2764bb 100644 --- a/app/Models/CoreLink.php +++ b/app/Models/CoreLink.php @@ -77,7 +77,7 @@ class CoreLink extends Model /** * Get the core interface side A associated with the corelink. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function coreInterfaceSideA(): BelongsTo { @@ -87,7 +87,7 @@ public function coreInterfaceSideA(): BelongsTo /** * Get the core interface side B associated with the corelink. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function coreInterfaceSideB(): BelongsTo { @@ -108,7 +108,7 @@ public function coreInterfaces(): array /** * Get the corebundle that own the corelink * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function coreBundle(): BelongsTo { diff --git a/app/Models/Customer.php b/app/Models/Customer.php index 055fafe7c..375e6e553 100644 --- a/app/Models/Customer.php +++ b/app/Models/Customer.php @@ -358,7 +358,7 @@ class Customer extends Model /** * Get the customer equipments for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function customerEquipments(): HasMany { @@ -368,7 +368,7 @@ public function customerEquipments(): HasMany /** * Get the virtual interfaces for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function virtualInterfaces(): HasMany { @@ -378,7 +378,7 @@ public function virtualInterfaces(): HasMany /** * Get the virtual interfaces for the customer * - * @psalm-return HasOne + * @psalm-return HasOne */ public function irrdbUpdateLog(): HasOne { @@ -390,7 +390,7 @@ public function irrdbUpdateLog(): HasOne /** * Get the peers for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function peers(): HasMany { @@ -400,7 +400,7 @@ public function peers(): HasMany /** * Get the peers with for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function peersWith(): HasMany { @@ -410,7 +410,7 @@ public function peersWith(): HasMany /** * Get the virtual interfaces for the customer * - * @psalm-return HasManyThrough + * @psalm-return HasManyThrough */ public function vlanInterfaces(): HasManyThrough { @@ -422,7 +422,7 @@ public function vlanInterfaces(): HasManyThrough /** * Get the docstore customer directories for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function docstoreCustomerDirectories(): HasMany { @@ -432,7 +432,7 @@ public function docstoreCustomerDirectories(): HasMany /** * Get the docstore customer files for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function docstoreCustomerFiles(): HasMany { @@ -442,7 +442,7 @@ public function docstoreCustomerFiles(): HasMany /** * Get the contacts for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function contacts(): HasMany { @@ -452,7 +452,7 @@ public function contacts(): HasMany /** * Get the console server connections for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function consoleServerConnections(): HasMany { @@ -462,7 +462,7 @@ public function consoleServerConnections(): HasMany /** * Get the route server filters for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function routeServerFilters(): HasMany { @@ -472,7 +472,7 @@ public function routeServerFilters(): HasMany /** * Get the route server filters for the customer (in production) * - * @psalm-return HasMany + * @psalm-return HasMany */ public function routeServerFiltersInProduction(): HasMany { @@ -482,7 +482,7 @@ public function routeServerFiltersInProduction(): HasMany /** * Get the peer route server filters for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function peerRouteServerFilters(): HasMany { @@ -492,7 +492,7 @@ public function peerRouteServerFilters(): HasMany /** * Get the irrdb Prefixes for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function irrdbPrefixes(): HasMany { @@ -502,7 +502,7 @@ public function irrdbPrefixes(): HasMany /** * Get the traffic dailies for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function trafficDailies(): HasMany { @@ -512,7 +512,7 @@ public function trafficDailies(): HasMany /** * Get the patch panel portss for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function patchPanelPorts(): HasMany { @@ -522,7 +522,7 @@ public function patchPanelPorts(): HasMany /** * Get the patch panel port histories for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function patchPanelPortHistories(): HasMany { @@ -532,7 +532,7 @@ public function patchPanelPortHistories(): HasMany /** * Get the rsPrefixes for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function rsPrefixes(): HasMany { @@ -542,7 +542,7 @@ public function rsPrefixes(): HasMany /** * Get the customer notes for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function customerNotes(): HasMany { @@ -552,7 +552,7 @@ public function customerNotes(): HasMany /** * Get the atlas probes for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function AtlasProbes(): HasMany { @@ -562,7 +562,7 @@ public function AtlasProbes(): HasMany /** * Get the atlas measurement source for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function AtlasMeasurementsSource(): HasMany { @@ -572,7 +572,7 @@ public function AtlasMeasurementsSource(): HasMany /** * Get the atlas measurement destination for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function AtlasMeasurementsDest(): HasMany { @@ -582,7 +582,7 @@ public function AtlasMeasurementsDest(): HasMany /** * Get the logo for the customer * - * @psalm-return HasOne + * @psalm-return HasOne */ public function logo(): HasOne { @@ -592,7 +592,7 @@ public function logo(): HasOne /** * Get the billing details for the customer * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function companyBillingDetail(): BelongsTo { @@ -602,7 +602,7 @@ public function companyBillingDetail(): BelongsTo /** * Get the registered detail for the customer * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function companyRegisteredDetail(): BelongsTo { @@ -612,7 +612,7 @@ public function companyRegisteredDetail(): BelongsTo /** * Get the resold customers for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function resoldCustomers(): HasMany { @@ -622,7 +622,7 @@ public function resoldCustomers(): HasMany /** * Get the reseller for the customer * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function resellerObject(): BelongsTo { @@ -632,7 +632,7 @@ public function resellerObject(): BelongsTo /** * Get the irrdbconfig that own the customer * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function irrdbConfig(): BelongsTo { @@ -642,7 +642,7 @@ public function irrdbConfig(): BelongsTo /** * Get all the users for the customer * - * @psalm-return BelongsToMany + * @psalm-return BelongsToMany */ public function users(): BelongsToMany { @@ -652,7 +652,7 @@ public function users(): BelongsToMany /** * Get all the customer to user for the customer * - * @psalm-return HasMany + * @psalm-return HasMany */ public function customerToUser(): HasMany { @@ -662,7 +662,7 @@ public function customerToUser(): HasMany /** * The tags that belong to the customer. * - * @psalm-return BelongsToMany + * @psalm-return BelongsToMany */ public function tags(): BelongsToMany { diff --git a/app/Models/CustomerEquipment.php b/app/Models/CustomerEquipment.php index d1ca5ac6a..51c50aada 100644 --- a/app/Models/CustomerEquipment.php +++ b/app/Models/CustomerEquipment.php @@ -79,7 +79,7 @@ class CustomerEquipment extends Model /** * Get the cabinet that own the customer equipment * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function cabinet(): BelongsTo { diff --git a/app/Models/CustomerNote.php b/app/Models/CustomerNote.php index 0cfb70738..07579ebc1 100644 --- a/app/Models/CustomerNote.php +++ b/app/Models/CustomerNote.php @@ -70,7 +70,7 @@ class CustomerNote extends Model /** * Get the customer that own the customer note * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { diff --git a/app/Models/CustomerTag.php b/app/Models/CustomerTag.php index 8db18dea3..aecc5db8c 100644 --- a/app/Models/CustomerTag.php +++ b/app/Models/CustomerTag.php @@ -81,7 +81,7 @@ class CustomerTag extends Model /** * Get all the customers for the tag * - * @psalm-return BelongsToMany + * @psalm-return BelongsToMany */ public function customers(): BelongsToMany { diff --git a/app/Models/CustomerToCustomerTag.php b/app/Models/CustomerToCustomerTag.php index 776f2bbbd..d4ad228a7 100644 --- a/app/Models/CustomerToCustomerTag.php +++ b/app/Models/CustomerToCustomerTag.php @@ -69,7 +69,7 @@ class CustomerToCustomerTag extends Model /** * Get the customer that own the customer to contact * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { @@ -79,7 +79,7 @@ public function customer(): BelongsTo /** * Get the tag that own the customer to contact * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function tag(): BelongsTo { diff --git a/app/Models/CustomerToUser.php b/app/Models/CustomerToUser.php index 93cbfc57f..6070c32a6 100644 --- a/app/Models/CustomerToUser.php +++ b/app/Models/CustomerToUser.php @@ -105,7 +105,7 @@ class CustomerToUser extends Model /** * Get the customer for the customertouser * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { @@ -115,7 +115,7 @@ public function customer(): BelongsTo /** * Get the user for the customertouser * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function user(): BelongsTo { @@ -125,7 +125,7 @@ public function user(): BelongsTo /** * Get the user Login Histories for the customertouser * - * @psalm-return HasMany + * @psalm-return HasMany */ public function userLoginHistories(): HasMany { diff --git a/app/Models/DocstoreCustomerDirectory.php b/app/Models/DocstoreCustomerDirectory.php index cc1a326b0..c74ef07f7 100644 --- a/app/Models/DocstoreCustomerDirectory.php +++ b/app/Models/DocstoreCustomerDirectory.php @@ -136,7 +136,7 @@ protected static function boot(): void /** * Get the customer * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { @@ -154,7 +154,7 @@ public function subDirectories(): HasMany /** * Get the parent directory * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function parentDirectory(): BelongsTo { @@ -164,7 +164,7 @@ public function parentDirectory(): BelongsTo /** * Get the files in this directory * - * @psalm-return HasMany + * @psalm-return HasMany */ public function files(): HasMany { diff --git a/app/Models/DocstoreCustomerFile.php b/app/Models/DocstoreCustomerFile.php index 502a37d7e..8c0b5a43f 100644 --- a/app/Models/DocstoreCustomerFile.php +++ b/app/Models/DocstoreCustomerFile.php @@ -146,7 +146,7 @@ protected static function boot(): void /** * Get the directory that owns the file. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function directory(): BelongsTo { @@ -156,7 +156,7 @@ public function directory(): BelongsTo /** * Get the customer that owns the file * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { diff --git a/app/Models/DocstoreDirectory.php b/app/Models/DocstoreDirectory.php index d3d67b7de..d478c766e 100644 --- a/app/Models/DocstoreDirectory.php +++ b/app/Models/DocstoreDirectory.php @@ -93,7 +93,7 @@ public function subDirectories(): HasMany /** * Get the parent directory * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function parentDirectory(): BelongsTo { @@ -103,7 +103,7 @@ public function parentDirectory(): BelongsTo /** * Get the files in this directory * - * @psalm-return HasMany + * @psalm-return HasMany */ public function files(): HasMany { diff --git a/app/Models/DocstoreFile.php b/app/Models/DocstoreFile.php index c26437e9d..ecc35ecaf 100644 --- a/app/Models/DocstoreFile.php +++ b/app/Models/DocstoreFile.php @@ -123,7 +123,7 @@ class DocstoreFile extends Model /** * Get the directory that owns the file. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function directory(): BelongsTo { @@ -133,7 +133,7 @@ public function directory(): BelongsTo /** * Get the access logs for this file * - * @psalm-return HasMany + * @psalm-return HasMany */ public function logs(): HasMany { diff --git a/app/Models/DocstoreLog.php b/app/Models/DocstoreLog.php index 55be56bfa..88dc15ef0 100644 --- a/app/Models/DocstoreLog.php +++ b/app/Models/DocstoreLog.php @@ -70,7 +70,7 @@ class DocstoreLog extends Model /** * Get the file that owns this log. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function file(): BelongsTo { diff --git a/app/Models/IPv4Address.php b/app/Models/IPv4Address.php index 8e3c30d07..97a585d9d 100644 --- a/app/Models/IPv4Address.php +++ b/app/Models/IPv4Address.php @@ -63,7 +63,7 @@ class IPv4Address extends Model /** * Get the vlan that own the ipv4address * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function vlan(): BelongsTo { @@ -73,7 +73,7 @@ public function vlan(): BelongsTo /** * Get the vlan interface associated with the ipv4. * - * @psalm-return HasOne + * @psalm-return HasOne */ public function vlanInterface(): HasOne { diff --git a/app/Models/IPv6Address.php b/app/Models/IPv6Address.php index 972d12a8b..959da2149 100644 --- a/app/Models/IPv6Address.php +++ b/app/Models/IPv6Address.php @@ -62,7 +62,7 @@ class IPv6Address extends Model /** * Get the vlan that own the ipv6address * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function vlan(): BelongsTo { @@ -72,7 +72,7 @@ public function vlan(): BelongsTo /** * Get the vlan interface associated with the ipv6. * - * @psalm-return HasOne + * @psalm-return HasOne */ public function vlanInterface(): HasOne { diff --git a/app/Models/Infrastructure.php b/app/Models/Infrastructure.php index cc2ad78fd..0efcc780f 100644 --- a/app/Models/Infrastructure.php +++ b/app/Models/Infrastructure.php @@ -104,6 +104,7 @@ class Infrastructure extends Model * * @return array */ + #[\Override] protected function casts(): array { return [ @@ -116,7 +117,7 @@ protected function casts(): array /** * Get the vlans for the infrastructure * - * @psalm-return HasMany + * @psalm-return HasMany */ public function vlans(): HasMany { @@ -126,7 +127,7 @@ public function vlans(): HasMany /** * Get the switchers for the infrastructure * - * @psalm-return HasMany + * @psalm-return HasMany */ public function switchers(): HasMany { diff --git a/app/Models/IrrdbConfig.php b/app/Models/IrrdbConfig.php index e70c0716b..94dc31beb 100644 --- a/app/Models/IrrdbConfig.php +++ b/app/Models/IrrdbConfig.php @@ -81,7 +81,7 @@ class IrrdbConfig extends Model /** * Get the customers for the Irrdb Config * - * @psalm-return HasMany + * @psalm-return HasMany */ public function customers(): HasMany { diff --git a/app/Models/IrrdbPrefix.php b/app/Models/IrrdbPrefix.php index 40c1e3600..11e67ca53 100644 --- a/app/Models/IrrdbPrefix.php +++ b/app/Models/IrrdbPrefix.php @@ -80,7 +80,7 @@ class IrrdbPrefix extends Model /** * Get the customer for the irrdb prefix * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { diff --git a/app/Models/Layer2Address.php b/app/Models/Layer2Address.php index 464827de3..2ec45ce45 100644 --- a/app/Models/Layer2Address.php +++ b/app/Models/Layer2Address.php @@ -83,7 +83,7 @@ class Layer2Address extends Model /** * Get the vlan interface that holds the layer2address * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function vlanInterface(): BelongsTo { diff --git a/app/Models/Location.php b/app/Models/Location.php index 1d44600e7..01795801e 100644 --- a/app/Models/Location.php +++ b/app/Models/Location.php @@ -111,7 +111,7 @@ class Location extends Model /** * Get the switchers for the cabinet * - * @psalm-return HasMany + * @psalm-return HasMany */ public function cabinets(): HasMany { diff --git a/app/Models/Log.php b/app/Models/Log.php index 4d5840666..ed1f00933 100644 --- a/app/Models/Log.php +++ b/app/Models/Log.php @@ -99,7 +99,7 @@ class Log extends Model /** * Get the user record associated with this log * - * @psalm-return HasOne + * @psalm-return HasOne */ public function user(): HasOne { diff --git a/app/Models/Logo.php b/app/Models/Logo.php index 2fdf9d413..6ed7db191 100644 --- a/app/Models/Logo.php +++ b/app/Models/Logo.php @@ -81,7 +81,7 @@ class Logo extends Model /** * Get the customer that own the logo * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { diff --git a/app/Models/MacAddress.php b/app/Models/MacAddress.php index 60f3badab..8229c737b 100644 --- a/app/Models/MacAddress.php +++ b/app/Models/MacAddress.php @@ -64,7 +64,7 @@ class MacAddress extends Model /** * Get the virtual interface for the mac addresses for * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function virtualInterface(): BelongsTo { diff --git a/app/Models/NetworkInfo.php b/app/Models/NetworkInfo.php index 147b3afff..35643dbb5 100644 --- a/app/Models/NetworkInfo.php +++ b/app/Models/NetworkInfo.php @@ -86,7 +86,7 @@ class NetworkInfo extends Model /** * Get the vlan that own the network info * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function vlan(): BelongsTo { diff --git a/app/Models/P2pDailyStats.php b/app/Models/P2pDailyStats.php index 203cea84e..b48f75f13 100644 --- a/app/Models/P2pDailyStats.php +++ b/app/Models/P2pDailyStats.php @@ -99,7 +99,7 @@ class P2pDailyStats extends Model /** * Get the logo for the customer * - * @psalm-return HasOne + * @psalm-return HasOne */ public function peer(): HasOne { diff --git a/app/Models/PatchPanel.php b/app/Models/PatchPanel.php index 7e29406f4..45f66d1da 100644 --- a/app/Models/PatchPanel.php +++ b/app/Models/PatchPanel.php @@ -190,7 +190,7 @@ class PatchPanel extends Model /** * Get the patch panel port files for this patch panel port * - * @psalm-return HasMany + * @psalm-return HasMany */ public function patchPanelPorts(): HasMany { @@ -200,7 +200,7 @@ public function patchPanelPorts(): HasMany /** * Get the cabinet that own the patch panel * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function cabinet(): BelongsTo { diff --git a/app/Models/PatchPanelPort.php b/app/Models/PatchPanelPort.php index da366c0f0..fb2b2ce91 100644 --- a/app/Models/PatchPanelPort.php +++ b/app/Models/PatchPanelPort.php @@ -294,7 +294,7 @@ class PatchPanelPort extends Model /** * Get the Patch Panel that owns this patch panel port * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function patchPanel(): BelongsTo { @@ -304,7 +304,7 @@ public function patchPanel(): BelongsTo /** * Get the switch port that owns this patch panel port * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function switchPort(): BelongsTo { @@ -314,7 +314,7 @@ public function switchPort(): BelongsTo /** * Get the customer that owns this patch panel port * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { @@ -324,7 +324,7 @@ public function customer(): BelongsTo /** * Get the duplex master port that owns this patch panel port * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function duplexMasterPort(): BelongsTo { @@ -334,7 +334,7 @@ public function duplexMasterPort(): BelongsTo /** * Get the patch panel port files for this patch panel port * - * @psalm-return HasMany + * @psalm-return HasMany */ public function patchPanelPortFiles(): HasMany { @@ -344,7 +344,7 @@ public function patchPanelPortFiles(): HasMany /** * Get the patch panel port histories for this patch panel port * - * @psalm-return HasMany + * @psalm-return HasMany */ public function patchPanelPortHistories(): HasMany { @@ -365,7 +365,7 @@ public function patchPanelPortFilesPublic(): HasMany /** * Get the duplex slaves ports for this patch panel port * - * @psalm-return HasMany + * @psalm-return HasMany */ public function duplexSlavePorts(): HasMany { diff --git a/app/Models/PatchPanelPortFile.php b/app/Models/PatchPanelPortFile.php index 83f81b8ae..1b482603d 100644 --- a/app/Models/PatchPanelPortFile.php +++ b/app/Models/PatchPanelPortFile.php @@ -97,7 +97,7 @@ class PatchPanelPortFile extends Model /** * Get the Patch Panel Port that owns this patch panel port file * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function patchPanelPort(): BelongsTo { diff --git a/app/Models/PatchPanelPortHistory.php b/app/Models/PatchPanelPortHistory.php index c8fe9a2b1..32bf55716 100644 --- a/app/Models/PatchPanelPortHistory.php +++ b/app/Models/PatchPanelPortHistory.php @@ -137,7 +137,7 @@ class PatchPanelPortHistory extends Model /** * Get the Patch Panel Port that owns this patch panel port history * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function patchPanelPort(): BelongsTo { @@ -147,7 +147,7 @@ public function patchPanelPort(): BelongsTo /** * Get the patch panel port history files for this patch panel port history * - * @psalm-return HasMany + * @psalm-return HasMany */ public function patchPanelPortHistoryFiles(): HasMany { diff --git a/app/Models/PatchPanelPortHistoryFile.php b/app/Models/PatchPanelPortHistoryFile.php index 668b19f5d..6965d7be5 100644 --- a/app/Models/PatchPanelPortHistoryFile.php +++ b/app/Models/PatchPanelPortHistoryFile.php @@ -90,7 +90,7 @@ class PatchPanelPortHistoryFile extends Model /** * Get the Patch Panel Port history that owns this patch panel port history file * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function patchPanelPortHistory(): BelongsTo { diff --git a/app/Models/PeeringManager.php b/app/Models/PeeringManager.php index 810eff34b..3ee7f7d7b 100644 --- a/app/Models/PeeringManager.php +++ b/app/Models/PeeringManager.php @@ -87,7 +87,7 @@ class PeeringManager extends Model /** * Get the customer that owns the peering manager * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { @@ -97,7 +97,7 @@ public function customer(): BelongsTo /** * Get the peer that owns the peering manager * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function peer(): BelongsTo { diff --git a/app/Models/PhysicalInterface.php b/app/Models/PhysicalInterface.php index 805cd7c34..10c52bbd6 100644 --- a/app/Models/PhysicalInterface.php +++ b/app/Models/PhysicalInterface.php @@ -164,7 +164,7 @@ public function setRateLimitAttribute($value) /** * Get the virtual interface that owns the physical interface. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function virtualInterface(): BelongsTo { @@ -174,7 +174,7 @@ public function virtualInterface(): BelongsTo /** * Get the switch port that owns the physical interface. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function switchPort(): BelongsTo { @@ -184,7 +184,7 @@ public function switchPort(): BelongsTo /** * Get the fanout physical interface associated with the physical interface. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function fanoutPhysicalInterface(): BelongsTo { @@ -194,7 +194,7 @@ public function fanoutPhysicalInterface(): BelongsTo /** * Get the core interface associated with the physical interface. * - * @psalm-return HasOne + * @psalm-return HasOne */ public function coreInterface(): HasOne { @@ -204,7 +204,7 @@ public function coreInterface(): HasOne /** * Get the peering physical interface associated with the physical interface. * - * @psalm-return HasOne + * @psalm-return HasOne */ public function peeringPhysicalInterface(): HasOne { @@ -214,7 +214,7 @@ public function peeringPhysicalInterface(): HasOne /** * Get the trafficDailiesPhysInt associated with the physical interface. * - * @psalm-return HasMany + * @psalm-return HasMany */ public function trafficDailiesPhysInt(): HasMany { diff --git a/app/Models/RouteServerFilter.php b/app/Models/RouteServerFilter.php index 6f5779111..9d9dda2b1 100644 --- a/app/Models/RouteServerFilter.php +++ b/app/Models/RouteServerFilter.php @@ -116,7 +116,7 @@ class RouteServerFilter extends Model /** * Get the customer that owns the route server filter. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { @@ -126,7 +126,7 @@ public function customer(): BelongsTo /** * Get the peer that owns the route server filter. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function peer(): BelongsTo { @@ -136,7 +136,7 @@ public function peer(): BelongsTo /** * Get the vlan that owns the route server filter. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function vlan(): BelongsTo { diff --git a/app/Models/Router.php b/app/Models/Router.php index 95437e300..a1bbc0459 100644 --- a/app/Models/Router.php +++ b/app/Models/Router.php @@ -253,7 +253,7 @@ class Router extends Model /** * Get the vlan that own the router * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function vlan(): BelongsTo { @@ -263,7 +263,7 @@ public function vlan(): BelongsTo /** * Get the router's configuration / isolation pair * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function pair(): BelongsTo { diff --git a/app/Models/RsPrefix.php b/app/Models/RsPrefix.php index 5e87a72f7..4607c200c 100644 --- a/app/Models/RsPrefix.php +++ b/app/Models/RsPrefix.php @@ -76,7 +76,7 @@ class RsPrefix extends Model /** * Get the the customer that own the rs prefix * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { diff --git a/app/Models/SflowReceiver.php b/app/Models/SflowReceiver.php index 5bb3a5747..3b13c6631 100644 --- a/app/Models/SflowReceiver.php +++ b/app/Models/SflowReceiver.php @@ -76,7 +76,7 @@ class SflowReceiver extends Model /** * Get the virtual Interfae that owns the sflow receiver. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function virtualInterface(): BelongsTo { diff --git a/app/Models/SwitchPort.php b/app/Models/SwitchPort.php index c3f92cf82..53f61b34f 100644 --- a/app/Models/SwitchPort.php +++ b/app/Models/SwitchPort.php @@ -207,7 +207,7 @@ class SwitchPort extends Model /** * Get the switcher that own the switch port * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function switcher(): BelongsTo { @@ -217,7 +217,7 @@ public function switcher(): BelongsTo /** * Get the patch panel ports for this switch port * - * @psalm-return HasOne + * @psalm-return HasOne */ public function physicalInterface(): HasOne { @@ -227,7 +227,7 @@ public function physicalInterface(): HasOne /** * Get the patch panel ports for this switch port * - * @psalm-return HasOne + * @psalm-return HasOne */ public function patchPanelPort(): HasOne { diff --git a/app/Models/Switcher.php b/app/Models/Switcher.php index 6159fbb52..04fbb8099 100644 --- a/app/Models/Switcher.php +++ b/app/Models/Switcher.php @@ -205,7 +205,7 @@ class Switcher extends Model /** * Get the infrastructure that own the switcher * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function infrastructureModel(): BelongsTo { @@ -215,7 +215,7 @@ public function infrastructureModel(): BelongsTo /** * Get the cabinet that own the switcher * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function cabinet(): BelongsTo { @@ -225,7 +225,7 @@ public function cabinet(): BelongsTo /** * Get the vendor that own the switcher * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function vendor(): BelongsTo { @@ -235,7 +235,7 @@ public function vendor(): BelongsTo /** * Get the switch ports for the switcher * - * @psalm-return HasMany + * @psalm-return HasMany */ public function switchPorts(): HasMany { @@ -245,7 +245,7 @@ public function switchPorts(): HasMany /** * Get the console server connections for the switcher * - * @psalm-return HasMany + * @psalm-return HasMany */ public function consoleServerConnections(): HasMany { diff --git a/app/Models/TrafficDaily.php b/app/Models/TrafficDaily.php index ba952fb4d..b6c7ea4bf 100644 --- a/app/Models/TrafficDaily.php +++ b/app/Models/TrafficDaily.php @@ -114,7 +114,7 @@ class TrafficDaily extends Model /** * Get the customer that own the traffic daily * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { diff --git a/app/Models/TrafficDailyPhysInt.php b/app/Models/TrafficDailyPhysInt.php index cb473b739..b0ec5d804 100644 --- a/app/Models/TrafficDailyPhysInt.php +++ b/app/Models/TrafficDailyPhysInt.php @@ -126,7 +126,7 @@ class TrafficDailyPhysInt extends Model /** * Get the physical interface that own the traffic daily phys int * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function physicalInterface(): BelongsTo { diff --git a/app/Models/User.php b/app/Models/User.php index 3f57a8b38..ba0929e94 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -181,7 +181,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon /** * Get the remember tokens for the user * - * @psalm-return HasMany + * @psalm-return HasMany */ public function userRememberTokens(): HasMany { @@ -191,7 +191,7 @@ public function userRememberTokens(): HasMany /** * Get the remember tokens for the user * - * @psalm-return HasOne + * @psalm-return HasOne */ public function user2FA(): HasOne { @@ -201,7 +201,7 @@ public function user2FA(): HasOne /** * Get the customer * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { @@ -211,7 +211,7 @@ public function customer(): BelongsTo /** * Get the api keys for the user * - * @psalm-return HasMany + * @psalm-return HasMany */ public function apiKeys(): HasMany { @@ -230,7 +230,7 @@ public function customers(): BelongsToMany /** * Get all the customers for the user * - * @psalm-return HasMany + * @psalm-return HasMany */ public function customerToUser(): HasMany { diff --git a/app/Models/User2FA.php b/app/Models/User2FA.php index 59f9f3da2..affbcf4df 100644 --- a/app/Models/User2FA.php +++ b/app/Models/User2FA.php @@ -72,7 +72,7 @@ class User2FA extends Model /** * Get the physical interface associated with the core interface. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function user(): BelongsTo { diff --git a/app/Models/UserLoginHistory.php b/app/Models/UserLoginHistory.php index a96d97052..9621c36ab 100644 --- a/app/Models/UserLoginHistory.php +++ b/app/Models/UserLoginHistory.php @@ -78,7 +78,7 @@ class UserLoginHistory extends Model /** * Get the customer to user * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customerToUser(): BelongsTo { diff --git a/app/Models/UserRememberToken.php b/app/Models/UserRememberToken.php index b13f638a8..7293e452b 100644 --- a/app/Models/UserRememberToken.php +++ b/app/Models/UserRememberToken.php @@ -78,7 +78,7 @@ class UserRememberToken extends Model /** * Get the user that own the remember token * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function user(): BelongsTo { diff --git a/app/Models/Vendor.php b/app/Models/Vendor.php index b19e2702d..bf04975c1 100644 --- a/app/Models/Vendor.php +++ b/app/Models/Vendor.php @@ -82,7 +82,7 @@ class Vendor extends Model /** * Get the console servers for the vendor * - * @psalm-return HasMany + * @psalm-return HasMany */ public function consoleServers(): HasMany { @@ -92,7 +92,7 @@ public function consoleServers(): HasMany /** * Get the switchers for the vendor * - * @psalm-return HasMany + * @psalm-return HasMany */ public function switchers(): HasMany { diff --git a/app/Models/VirtualInterface.php b/app/Models/VirtualInterface.php index ffa67522b..63a598321 100644 --- a/app/Models/VirtualInterface.php +++ b/app/Models/VirtualInterface.php @@ -114,7 +114,7 @@ class VirtualInterface extends Model /** * Get the customer that owns the virtual interfaces. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function customer(): BelongsTo { @@ -124,7 +124,7 @@ public function customer(): BelongsTo /** * Get the VLAN interfaces for the virtual interface * - * @psalm-return HasMany + * @psalm-return HasMany */ public function vlanInterfaces(): HasMany { @@ -134,7 +134,7 @@ public function vlanInterfaces(): HasMany /** * Get the physical interfaces for the virtual interface * - * @psalm-return HasMany + * @psalm-return HasMany */ public function physicalInterfaces(): HasMany { @@ -144,7 +144,7 @@ public function physicalInterfaces(): HasMany /** * Get the mac addresses for the virtual interface * - * @psalm-return HasMany + * @psalm-return HasMany */ public function macAddresses(): HasMany { @@ -154,7 +154,7 @@ public function macAddresses(): HasMany /** * Get the sflow receivers for the virtual interface * - * @psalm-return HasMany + * @psalm-return HasMany */ public function sflowReceivers(): HasMany { diff --git a/app/Models/Vlan.php b/app/Models/Vlan.php index 9e8ad63d0..d0b0e262c 100644 --- a/app/Models/Vlan.php +++ b/app/Models/Vlan.php @@ -123,7 +123,7 @@ class Vlan extends Model /** * Get the vlan interfaces that are in this vlan * - * @psalm-return HasMany + * @psalm-return HasMany */ public function vlanInterfaces(): HasMany { @@ -133,7 +133,7 @@ public function vlanInterfaces(): HasMany /** * Get the vlan interfaces that are in this vlan * - * @psalm-return HasMany + * @psalm-return HasMany */ public function routers(): HasMany { @@ -143,7 +143,7 @@ public function routers(): HasMany /** * Get the ipv4addresses for the vlan * - * @psalm-return HasMany + * @psalm-return HasMany */ public function ipv4Addresses(): HasMany { @@ -153,7 +153,7 @@ public function ipv4Addresses(): HasMany /** * Get the ipv6addresses for the vlan * - * @psalm-return HasMany + * @psalm-return HasMany */ public function ipv6Addresses(): HasMany { @@ -163,7 +163,7 @@ public function ipv6Addresses(): HasMany /** * Get the route server filters for the vlan * - * @psalm-return HasMany + * @psalm-return HasMany */ public function routeServerFilters(): HasMany { @@ -173,7 +173,7 @@ public function routeServerFilters(): HasMany /** * Get the networks info for the vlan * - * @psalm-return HasMany + * @psalm-return HasMany */ public function networksInfo(): HasMany { @@ -183,7 +183,7 @@ public function networksInfo(): HasMany /** * Get the atlas run that are in this vlan * - * @psalm-return HasMany + * @psalm-return HasMany */ public function atlasRun(): HasMany { @@ -193,7 +193,7 @@ public function atlasRun(): HasMany /** * Get the infrastructure that own the vlan * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function infrastructure(): BelongsTo { diff --git a/app/Models/VlanInterface.php b/app/Models/VlanInterface.php index c703311df..dafaedc24 100644 --- a/app/Models/VlanInterface.php +++ b/app/Models/VlanInterface.php @@ -134,7 +134,7 @@ class VlanInterface extends Model /** * Get the customer that owns the virtual interfaces. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function virtualInterface(): BelongsTo { @@ -144,7 +144,7 @@ public function virtualInterface(): BelongsTo /** * Get the vlan that holds the vlan interface. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function vlan(): BelongsTo { @@ -154,7 +154,7 @@ public function vlan(): BelongsTo /** * Get the layer2addresses for the vlan interface * - * @psalm-return HasMany + * @psalm-return HasMany */ public function layer2addresses(): HasMany { @@ -164,7 +164,7 @@ public function layer2addresses(): HasMany /** * Get the ipv4address associated with the vlaninterface. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function ipv4address(): BelongsTo { @@ -174,7 +174,7 @@ public function ipv4address(): BelongsTo /** * Get the ipv6address associated with the vlaninterface. * - * @psalm-return BelongsTo + * @psalm-return BelongsTo */ public function ipv6address(): BelongsTo { diff --git a/app/Providers/RipeAtlasProvider.php b/app/Providers/RipeAtlasProvider.php index 60e6fcd02..dda355583 100644 --- a/app/Providers/RipeAtlasProvider.php +++ b/app/Providers/RipeAtlasProvider.php @@ -56,6 +56,7 @@ public function register(): void * * @return array */ + #[\Override] public function provides(): array { return [ApiCall::class]; diff --git a/app/Providers/RipeRestApiProvider.php b/app/Providers/RipeRestApiProvider.php index bc5440376..d6446d07b 100644 --- a/app/Providers/RipeRestApiProvider.php +++ b/app/Providers/RipeRestApiProvider.php @@ -67,6 +67,7 @@ public function register(): void * * @return array */ + #[\Override] public function provides(): array { return [RipeRestApi::class]; diff --git a/app/Support/Facades/RipeRestApi.php b/app/Support/Facades/RipeRestApi.php index dafc2abe3..20c1b0eeb 100644 --- a/app/Support/Facades/RipeRestApi.php +++ b/app/Support/Facades/RipeRestApi.php @@ -9,6 +9,7 @@ */ class RipeRestApi extends Facade { + #[\Override] protected static function getFacadeAccessor(): string { return \IXP\Services\RipeRestApi::class; diff --git a/composer.json b/composer.json index 3719489f1..57d2ffba4 100644 --- a/composer.json +++ b/composer.json @@ -26,18 +26,18 @@ "require": { "php": "^8.4", "ext-json": "*", - "laravel/framework": "^12.0", "anahkiasen/former": "^5.1.1", "bacon/bacon-qr-code": "^3.0.0", "barryvdh/laravel-dompdf": "^3.0.0", "erusev/parsedown": "^1.7", - "opensolutions/foil": "^0.7.2", "intervention/image": "^2.7", + "laravel/framework": "^12.0", "laravel/horizon": "^5.7", "laravel/telescope": "^5.0", "laravel/tinker": "^2.10.1", "laravel/ui": "^4.0", "mews/purifier": "^3.4", + "opensolutions/foil": "^0.7.2", "opensolutions/oss-snmp": "^1.0", "php-ds/php-ds": "^1.7.0", "pragmarx/google2fa-laravel": "^2.3.0", @@ -54,9 +54,9 @@ "laravel/dusk": "^8.0", "mockery/mockery": "^1.6", "phpunit/phpunit": "^11.5.3", + "psalm/plugin-laravel": "^4.3", "staudenmeir/dusk-updater": "^1.5", - "vimeo/psalm": "^6.0", - "psalm/plugin-laravel": "^3.0.0" + "vimeo/psalm": "dev-master" }, "support": { "issues": "https://www.ixpmanager.org/support", @@ -119,6 +119,6 @@ "php": "8.4.11" } }, - "minimum-stability": "dev", + "minimum-stability": "beta", "prefer-stable": true } diff --git a/composer.lock b/composer.lock index d7536891c..afb8545c5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "2b2d746f9242e0117555dd264fed7a5f", + "content-hash": "bad1109e7addafc4b1fd6bc62c2f49e1", "packages": [ { "name": "anahkiasen/former", @@ -2264,16 +2264,16 @@ }, { "name": "laravel/prompts", - "version": "v0.3.15", + "version": "v0.3.16", "source": { "type": "git", "url": "https://github.com/laravel/prompts.git", - "reference": "4bb8107ec97651fd3f17f897d6489dbc4d8fb999" + "reference": "11e7d5f93803a2190b00e145142cb00a33d17ad2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/prompts/zipball/4bb8107ec97651fd3f17f897d6489dbc4d8fb999", - "reference": "4bb8107ec97651fd3f17f897d6489dbc4d8fb999", + "url": "https://api.github.com/repos/laravel/prompts/zipball/11e7d5f93803a2190b00e145142cb00a33d17ad2", + "reference": "11e7d5f93803a2190b00e145142cb00a33d17ad2", "shasum": "" }, "require": { @@ -2317,9 +2317,9 @@ "description": "Add beautiful and user-friendly forms to your command-line applications.", "support": { "issues": "https://github.com/laravel/prompts/issues", - "source": "https://github.com/laravel/prompts/tree/v0.3.15" + "source": "https://github.com/laravel/prompts/tree/v0.3.16" }, - "time": "2026-03-17T13:45:17+00:00" + "time": "2026-03-23T14:35:33+00:00" }, { "name": "laravel/sentinel", @@ -2902,16 +2902,16 @@ }, { "name": "league/flysystem", - "version": "3.32.0", + "version": "3.33.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "254b1595b16b22dbddaaef9ed6ca9fdac4956725" + "reference": "570b8871e0ce693764434b29154c54b434905350" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/254b1595b16b22dbddaaef9ed6ca9fdac4956725", - "reference": "254b1595b16b22dbddaaef9ed6ca9fdac4956725", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/570b8871e0ce693764434b29154c54b434905350", + "reference": "570b8871e0ce693764434b29154c54b434905350", "shasum": "" }, "require": { @@ -2979,9 +2979,9 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.32.0" + "source": "https://github.com/thephpleague/flysystem/tree/3.33.0" }, - "time": "2026-02-25T17:01:41+00:00" + "time": "2026-03-25T07:59:30+00:00" }, { "name": "league/flysystem-local", @@ -10912,16 +10912,16 @@ }, { "name": "orchestra/testbench-core", - "version": "v10.11.0", + "version": "v10.12.0", "source": { "type": "git", "url": "https://github.com/orchestral/testbench-core.git", - "reference": "8d6e72fb0d75049ddb36fddcaada0d9f6aa3ecd3" + "reference": "6bf2848753ce678d8568355f53edc31916816360" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/8d6e72fb0d75049ddb36fddcaada0d9f6aa3ecd3", - "reference": "8d6e72fb0d75049ddb36fddcaada0d9f6aa3ecd3", + "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/6bf2848753ce678d8568355f53edc31916816360", + "reference": "6bf2848753ce678d8568355f53edc31916816360", "shasum": "" }, "require": { @@ -11001,7 +11001,7 @@ "issues": "https://github.com/orchestral/testbench/issues", "source": "https://github.com/orchestral/testbench-core" }, - "time": "2026-03-18T12:46:42+00:00" + "time": "2026-03-23T23:11:32+00:00" }, { "name": "phar-io/manifest", @@ -11869,45 +11869,43 @@ }, { "name": "psalm/plugin-laravel", - "version": "v3.1.5", + "version": "v4.3.2", "source": { "type": "git", "url": "https://github.com/psalm/psalm-plugin-laravel.git", - "reference": "3f29cc269d45c5e92636d3f4c7270017af9f4187" + "reference": "499ee8dfc06e524c0ec9bdde90abf38c980fda7b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/psalm/psalm-plugin-laravel/zipball/3f29cc269d45c5e92636d3f4c7270017af9f4187", - "reference": "3f29cc269d45c5e92636d3f4c7270017af9f4187", + "url": "https://api.github.com/repos/psalm/psalm-plugin-laravel/zipball/499ee8dfc06e524c0ec9bdde90abf38c980fda7b", + "reference": "499ee8dfc06e524c0ec9bdde90abf38c980fda7b", "shasum": "" }, "require": { - "barryvdh/laravel-ide-helper": "^3.6", "ext-simplexml": "*", - "illuminate/config": "^11.35 || ^12.0", - "illuminate/container": "^11.35 || ^12.0", - "illuminate/contracts": "^11.35 || ^12.0", - "illuminate/database": "^11.35 || ^12.0", - "illuminate/events": "^11.35 || ^12.0", - "illuminate/http": "^11.35 || ^12.0", - "illuminate/routing": "^11.35 || ^12.0", - "illuminate/support": "^11.35 || ^12.0", - "illuminate/view": "^11.35 || ^12.0", + "illuminate/config": "^12.0 || ^13.0", + "illuminate/container": "^12.0 || ^13.0", + "illuminate/contracts": "^12.0 || ^13.0", + "illuminate/database": "^12.0 || ^13.0", + "illuminate/events": "^12.0 || ^13.0", + "illuminate/http": "^12.0 || ^13.0", + "illuminate/routing": "^12.0 || ^13.0", + "illuminate/support": "^12.0 || ^13.0", + "illuminate/view": "^12.0 || ^13.0", "nikic/php-parser": "^5.0", - "orchestra/testbench-core": "^9.11 || ^10.0", + "orchestra/testbench-core": "^10.0 || ^11.0", "php": "^8.2", - "symfony/console": "^7.1", - "symfony/finder": "^7.1", - "vimeo/psalm": "^6.15 || ^7.0.0-beta16 || dev-master" + "psalm/psalm-plugin-api": "^0.1.0", + "vimeo/psalm": "^7.0.0-beta17 || dev-master" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.94", - "laravel/framework": "^11.35 || ^12.0", - "phpunit/phpunit": "^11.5", + "laravel/framework": "^12.0 || ^13.0", + "phpunit/phpunit": "^11.5 || ^12.5 || ^13.0", "phpyh/psalm-tester": "dev-batch", "ramsey/collection": "^1.3", "rector/rector": "^2.3", - "symfony/http-foundation": "^7.1" + "symfony/http-foundation": "^7.1 || ^8.0" }, "type": "psalm-plugin", "extra": { @@ -11940,9 +11938,50 @@ ], "support": { "issues": "https://github.com/psalm/psalm-plugin-laravel/issues", - "source": "https://github.com/psalm/psalm-plugin-laravel/tree/v3.1.5" + "source": "https://github.com/psalm/psalm-plugin-laravel/tree/v4.3.2" + }, + "funding": [ + { + "url": "https://github.com/alies-dev", + "type": "github" + } + ], + "time": "2026-03-25T16:50:40+00:00" + }, + { + "name": "psalm/psalm-plugin-api", + "version": "0.1.0", + "source": { + "type": "git", + "url": "https://github.com/psalm/psalm-plugin-api.git", + "reference": "a995ad2c44df828f5333cb37b0ced92bb4b74b5b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/psalm/psalm-plugin-api/zipball/a995ad2c44df828f5333cb37b0ced92bb4b74b5b", + "reference": "a995ad2c44df828f5333cb37b0ced92bb4b74b5b", + "shasum": "" }, - "time": "2026-03-14T19:57:26+00:00" + "conflict": { + "vimeo/psalm": "<7.0.0" + }, + "type": "metapackage", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Daniil Gentili", + "email": "daniil@daniil.it" + } + ], + "description": "Stable, semantically versioned API for Psalm plugins", + "support": { + "issues": "https://github.com/psalm/psalm-plugin-api/issues", + "source": "https://github.com/psalm/psalm-plugin-api/tree/0.1.0" + }, + "time": "2026-03-19T15:12:37+00:00" }, { "name": "revolt/event-loop", @@ -13370,16 +13409,16 @@ }, { "name": "vimeo/psalm", - "version": "6.16.1", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "f1f5de594dc76faf8784e02d3dc4716c91c6f6ac" + "reference": "7d002e3b5843fe78a16b0a59692a61edd27a1cb0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/f1f5de594dc76faf8784e02d3dc4716c91c6f6ac", - "reference": "f1f5de594dc76faf8784e02d3dc4716c91c6f6ac", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/7d002e3b5843fe78a16b0a59692a61edd27a1cb0", + "reference": "7d002e3b5843fe78a16b0a59692a61edd27a1cb0", "shasum": "" }, "require": { @@ -13403,6 +13442,7 @@ "netresearch/jsonmapper": "^5.0", "nikic/php-parser": "^5.0.0", "php": "~8.1.31 || ~8.2.27 || ~8.3.16 || ~8.4.3 || ~8.5.0", + "psalm/psalm-plugin-api": "0.1.0", "sebastian/diff": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0", "spatie/array-to-xml": "^2.17.0 || ^3.0", "symfony/console": "^6.0 || ^7.0 || ^8.0", @@ -13484,7 +13524,7 @@ "issues": "https://github.com/vimeo/psalm/issues", "source": "https://github.com/vimeo/psalm" }, - "time": "2026-03-19T10:56:09+00:00" + "time": "2026-03-19T15:17:27+00:00" }, { "name": "webmozart/assert", @@ -13550,8 +13590,10 @@ } ], "aliases": [], - "minimum-stability": "dev", - "stability-flags": {}, + "minimum-stability": "beta", + "stability-flags": { + "vimeo/psalm": 20 + }, "prefer-stable": true, "prefer-lowest": false, "platform": { diff --git a/psalm.xml b/psalm.xml index d14973841..d52d64e3c 100644 --- a/psalm.xml +++ b/psalm.xml @@ -8,11 +8,11 @@ xmlns="https://getpsalm.org/schema/config" xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" errorBaseline="psalm-baseline.xml" + allConstantsGlobal="true" > - @@ -25,6 +25,7 @@ + @@ -37,5 +38,9 @@ + + + +