Skip to content

Commit 665b91b

Browse files
committed
fix: remove check is file
1 parent 15ab9e1 commit 665b91b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Secure.php

-4
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ public function __construct(
8484
*/
8585
public function setFile($data = '')
8686
{
87-
if (! \is_file($data)) {
88-
throw new Exception('Unable to locate the specified file.');
89-
}
90-
9187
if ($this->NOFILE) {
9288
$this->data = (static function () use ($data) {
9389
for ($i = 0; $i < strlen($data) / 4096; $i++) {

0 commit comments

Comments
 (0)