Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
baikunz committed Mar 30, 2013
1 parent 0dab103 commit bd84736
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Shuble/Slurpy/Slurpy.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,6 @@ public function getCommand(array $options = array())

public function generate(array $options = array() , $overwrite = false)
{
if (null === $this->binary) {
throw new \LogicException('You must define the pdftk binary');
}

if (empty($this->inputs)) {
throw new \LogicException('You must define at least one input file');
}
Expand All @@ -216,7 +212,7 @@ public function generate(array $options = array() , $overwrite = false)
throw new \LogicException('You must define an output file');
}

$this->prepareOutput($output, $overwrite);
$this->prepareOutput($this->output, $overwrite);

$command = $this->getCommand($options);

Expand Down

0 comments on commit bd84736

Please sign in to comment.