Skip to content

Commit

Permalink
https://github.com/aVadim483/fast-excel-writer/issues/75
Browse files Browse the repository at this point in the history
  • Loading branch information
aVadim483 committed Aug 13, 2024
1 parent 9e89f57 commit 7bb81b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/FastExcelWriter/Area.php
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ public function __call(string $name, array $arguments)
}

$trace = debug_backtrace();
$error = 'Uncaught Error: Call to undefined method ' . get_class() . '::' . $name
$error = 'Uncaught Error: Call to undefined method ' . __CLASS__ . '::' . $name
. ' (called in ' . $trace[0]['file'] . ' on line ' . $trace[0]['line'] . ')';
throw new \Exception($error);
}
Expand Down
2 changes: 1 addition & 1 deletion src/FastExcelWriter/Sheet.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function __get($name)
$trace = debug_backtrace();

trigger_error(
'Undefined property: ' . get_class() . '::$' . $name .
'Undefined property: ' . __CLASS__ . '::$' . $name .
' (call in file ' . $trace[0]['file'] .
' on line ' . $trace[0]['line'] . ') ',
E_USER_NOTICE);
Expand Down

0 comments on commit 7bb81b9

Please sign in to comment.