mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
PHPStan fixes (#13038)
* PHPStan fixes mostly type fixes semi-risky changes in availability map widget, tested a bit * fix style * Style fix * restore spaces stupid editor removed * fix the rest * device model back * remove ignores * introduce variable
This commit is contained in:
@@ -22,13 +22,13 @@ class OspfNbrFactory extends Factory
|
||||
public function definition()
|
||||
{
|
||||
return [
|
||||
'id' => $this->faker->randomDigit,
|
||||
'id' => $this->faker->randomDigit(),
|
||||
'ospfNbrIpAddr' => $this->faker->ipv4,
|
||||
'ospfNbrAddressLessIndex' => $this->faker->randomDigit,
|
||||
'ospfNbrAddressLessIndex' => $this->faker->randomDigit(),
|
||||
'ospfNbrRtrId' => $this->faker->ipv4,
|
||||
'ospfNbrOptions' => 0,
|
||||
'ospfNbrPriority' => 1,
|
||||
'ospfNbrEvents' => $this->faker->randomDigit,
|
||||
'ospfNbrEvents' => $this->faker->randomDigit(),
|
||||
'ospfNbrLsRetransQLen' => 0,
|
||||
'ospfNbmaNbrStatus' => 'active',
|
||||
'ospfNbmaNbrPermanence' => 'dynamic',
|
||||
|
Reference in New Issue
Block a user