Skip to content

Commit c03fdb3

Browse files
committed
Fix code isFileOk -> isFileOk()
1 parent 59075b0 commit c03fdb3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/SimpleExcel/Parser/CSVParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class CSVParser extends BaseParser implements IParser
3535
*/
3636
public function loadFile($file_path){
3737

38-
if (!$this->isFileOk) {
38+
if (!$this->isFileOk($file_path)) {
3939
return;
4040
}
4141

src/SimpleExcel/Parser/HTMLParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ private function parseDOM($html){
6969
*/
7070
public function loadFile($file_path) {
7171

72-
if (!$this->isFileOk) {
72+
if (!$this->isFileOk($file_path)) {
7373
return;
7474
}
7575

src/SimpleExcel/Parser/JSONParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class JSONParser extends BaseParser implements IParser
2727
*/
2828
public function loadFile($file_path) {
2929

30-
if (!$this->isFileOk) {
30+
if (!$this->isFileOk($file_path)) {
3131
return;
3232
}
3333

src/SimpleExcel/Parser/XMLParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ private function parseDOM($xml){
298298
*/
299299
public function loadFile($file_path) {
300300

301-
if (!$this->isFileOk) {
301+
if (!$this->isFileOk($file_path)) {
302302
return;
303303
}
304304

0 commit comments

Comments
 (0)