@@ -112,6 +112,9 @@ discard block |
||
| 112 | 112 | return new NativeFileInfo($this, $path, basename($path), $this->getStat($path)); |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | + /** |
|
| 116 | + * @param string $path |
|
| 117 | + */ |
|
| 115 | 118 | private function getStat($path) { |
| 116 | 119 | return $this->getState()->stat($this->buildUrl($path)); |
| 117 | 120 | } |
@@ -276,7 +279,7 @@ discard block |
||
| 276 | 279 | * |
| 277 | 280 | * @param string $path |
| 278 | 281 | * @param string $attribute attribute to get the info |
| 279 | - * @param string|int $value |
|
| 282 | + * @param integer $value |
|
| 280 | 283 | * @return mixed the attribute value |
| 281 | 284 | */ |
| 282 | 285 | public function setAttribute($path, $attribute, $value) { |