Skip to content

Commit

Permalink
修复static method
Browse files Browse the repository at this point in the history
  • Loading branch information
JanHuang committed Feb 21, 2019
1 parent 712159f commit 82e0c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FileObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function __construct($filename, $mode = 'r', $include = false, $context =
* @param $data
* @return static
*/
public function make($data)
public static function make($data)
{
if (is_string($data)) {
$filename = $data;
Expand Down

0 comments on commit 82e0c70

Please sign in to comment.