Skip to content

Commit

Permalink
Update WkFile.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bhofstaetter authored Mar 11, 2019
1 parent 34d38d0 commit cf85357
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/WkFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public static function get_html($obj, array $variables = [], string $template =
if (!$template) {
$parts = explode('\\', $obj->ClassName);

if (count($parts > 1)) {
if (count($parts) > 1) {
$last = $parts[count($parts) - 1];
unset($parts[count($parts) - 1]);
$parts[] = $type;
Expand Down Expand Up @@ -305,4 +305,4 @@ public function handleMissingYmlConfig($pageSize, $orientation) {
echo 'Please create it "Grasenhiller\WkHtmlToX.' . $type . '.options.' . $string . '"';
die();
}
}
}

0 comments on commit cf85357

Please sign in to comment.