Skip to content

Commit

Permalink
Type cast fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paveljanda committed Sep 2, 2017
1 parent 8d7421e commit 65e17da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function generateAll(IRouter $router): void
$this->generateOne($route, $sections, "$sectionName.$fileName");
}
} else {
$this->generateOne($routes, $sections, $sectionName);
$this->generateOne($routes, $sections, (string) $sectionName);
}
}

Expand Down

0 comments on commit 65e17da

Please sign in to comment.