@@ -126,7 +126,7 @@ |
||
126 | 126 | */ |
127 | 127 | private static function matchTypeToRegex($type, $regex, $fileContents) |
128 | 128 | { |
129 | - $matches=[]; |
|
129 | + $matches = []; |
|
130 | 130 | if (!preg_match($regex, $fileContents, $matches)) { |
131 | 131 | return null; |
132 | 132 | } |
@@ -126,7 +126,7 @@ |
||
126 | 126 | */ |
127 | 127 | private static function matchTypeToRegex($type, $regex, $fileContents) |
128 | 128 | { |
129 | - $matches=[]; |
|
129 | + $matches = []; |
|
130 | 130 | if (!preg_match($regex, $fileContents, $matches)) { |
131 | 131 | return null; |
132 | 132 | } |
@@ -113,6 +113,11 @@ |
||
113 | 113 | */ |
114 | 114 | protected $hardwareBroadcastAddress; |
115 | 115 | |
116 | + /** |
|
117 | + * @param integer $interfaceIndex |
|
118 | + * @param string $interfaceName |
|
119 | + * @param string|null $interfaceMaster |
|
120 | + */ |
|
116 | 121 | public function __construct($interfaceIndex, $interfaceName, $interfaceMaster, $interfaceFlags, $interfaceProperties, $linkType, $physicalAddress, $hardwareBroadcastAddress) |
117 | 122 | { |
118 | 123 | $this->interfaceIndex = $interfaceIndex; |