@@ -6,6 +6,9 @@ |
||
6 | 6 | protected $timeout; |
7 | 7 | protected $mustExist; |
8 | 8 | |
9 | + /** |
|
10 | + * @param string $value |
|
11 | + */ |
|
9 | 12 | public function __construct($value, $mustExist = true, $timeout = 10) |
10 | 13 | { |
11 | 14 | parent::__construct($value); |
@@ -26,7 +26,7 @@ |
||
26 | 26 | */ |
27 | 27 | public function getContents() |
28 | 28 | { |
29 | - return ! $this->mustExist || $this->exists() |
|
29 | + return !$this->mustExist || $this->exists() |
|
30 | 30 | ? file_get_contents($this->getValue()) |
31 | 31 | : false; |
32 | 32 | } |