Skip to content

Commit

Permalink
Merge pull request #35 from craftcms/bugfix/fix-docs-links
Browse files Browse the repository at this point in the history
Fix documentation link for v2
  • Loading branch information
brandonkelly authored Jun 13, 2024
2 parents 84974a4 + 666ed03 commit 93d2a26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/generators/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private function writeModuleClass(): void
->setReturnType('void')
->setBody(<<<EOD
// Register event handlers here ...
// (see https://craftcms.com/docs/4.x/extend/events.html to get started)
// (see https://craftcms.com/docs/5.x/extend/events.html to get started)
EOD);

$this->writePhpClass($namespace);
Expand Down
2 changes: 1 addition & 1 deletion src/generators/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ private function writePluginClass(): void
->setReturnType('void')
->setBody(<<<EOD
// Register event handlers here ...
// (see https://craftcms.com/docs/4.x/extend/events.html to get started)
// (see https://craftcms.com/docs/5.x/extend/events.html to get started)
EOD);

$this->writePhpFile("$this->targetDir/src/$this->className.php", $file);
Expand Down

0 comments on commit 93d2a26

Please sign in to comment.