Skip to content

Commit e1f5911

Browse files
Update File.php
1 parent faa4a41 commit e1f5911

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/File.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ public final function put($data)
109109

110110
if ($getPath != null && $getPath != "") {
111111
return file_put_contents($this->getPath(), $getPath);
112+
} else {
113+
return null;
112114
}
113115
}
114116

0 commit comments

Comments
 (0)