Skip to content

Commit 714360d

Browse files
committed
Remove __callStatic method
1 parent 6609340 commit 714360d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/JasperPHP.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,6 @@ public function __construct()
3838
$this->windows = strtoupper(substr(PHP_OS, 0, 3)) === 'WIN' ? true : false;
3939
}
4040

41-
public static function __callStatic($method, $parameters)
42-
{
43-
// Create a new instance of the called class, in this case it is Post
44-
$model = get_called_class();
45-
46-
// Call the requested method on the newly created object
47-
return call_user_func_array(array(new $model, $method), $parameters);
48-
}
49-
5041
/**
5142
* @param $input_file
5243
* @param bool $output_file

0 commit comments

Comments
 (0)