Skip to content

Commit

Permalink
Refactor all method in camelCase
Browse files Browse the repository at this point in the history
  • Loading branch information
feryardiant committed Jan 4, 2015
1 parent 6a22a74 commit ae6d68d
Show file tree
Hide file tree
Showing 6 changed files with 578 additions and 576 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This is version 1.7.0 with some changes:
* [x] Class constructor is renamed `__construct` instead of `FPDF`
* [x] `Fpdf_VERSION` is now `Fpdf::VERSION`
* [x] on error a RuntimeException is thrown instead on lib dramatically dying
* [ ] Remmap All method in `camelCase`.
* [x] Refactor all method in `camelCase`.
* [ ] Rebuild documentations and tutorials.

## Installing with composer
Expand Down
2 changes: 1 addition & 1 deletion src/Fpdf/AbstractFpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected function _validateFontpath() {
}

// Fatal error
public function Error($message) {
public function error($message) {
$heading = str_replace('\\', '::', get_class($this)) . ' error:';
if (PHP_SAPI != 'cli') {
$heading = "<b>{$heading}</b><br>";
Expand Down
Loading

0 comments on commit ae6d68d

Please sign in to comment.