| @@ -192,7 +192,7 @@ | ||
| 192 | 192 | */ | 
| 193 | 193 | private function encodePassword($password) | 
| 194 | 194 |      { | 
| 195 | -        set_error_handler(function () {}, E_NOTICE); | |
| 195 | +        set_error_handler(function() {}, E_NOTICE); | |
| 196 | 196 |          $encodedPassword = iconv('UTF-8', 'ISO-8859-1', $password); | 
| 197 | 197 | restore_error_handler(); | 
| 198 | 198 | |
| @@ -12,7 +12,6 @@ | ||
| 12 | 12 | use Bacon\Pdf\Exception\DomainException; | 
| 13 | 13 | use Bacon\Pdf\Exception\UnexpectedValueException; | 
| 14 | 14 | use Bacon\Pdf\Exception\UnsupportedPasswordException; | 
| 15 | -use Bacon\Pdf\PdfWriter; | |
| 16 | 15 | use Bacon\Pdf\Utils\EncryptionUtils; | 
| 17 | 16 | use Bacon\Pdf\Writer\ObjectWriter; | 
| 18 | 17 | |
| @@ -51,7 +51,7 @@ | ||
| 51 | 51 |              throw new WriterClosedException('The writer object was closed'); | 
| 52 | 52 | } | 
| 53 | 53 | |
| 54 | - $this->fileObject->fwrite($data. "\n"); | |
| 54 | + $this->fileObject->fwrite($data . "\n"); | |
| 55 | 55 | $this->currentLineLength = 0; | 
| 56 | 56 | } | 
| 57 | 57 | |