Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Commit

Permalink
update generateOptions() method
Browse files Browse the repository at this point in the history
update composer.json
  • Loading branch information
tonchik-tm committed Aug 10, 2016
1 parent e5c1431 commit 886a2f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
"role": "Developer"
}
],
"minimum-stability": "stable",
"minimum-stability": "dev",
"require": {
"php": ">=5.4.0",
"pelago/emogrifier": "@dev"
},

Expand Down
3 changes: 2 additions & 1 deletion src/Pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ private function generate()
private function generateOptions()
{
$generated = array();
array_walk($this->getOptions('generate'), function ($value, $key) use (&$generated) {
$generateValue = $this->getOptions('generate');
array_walk($generateValue, function ($value, $key) use (&$generated) {
$result = '';
switch ($key) {
case 'singlePage':
Expand Down

0 comments on commit 886a2f8

Please sign in to comment.