Skip to content

Commit

Permalink
Issue #3268835 by quietone, smustgrave, ravi.shankar, xjm, borisson_,…
Browse files Browse the repository at this point in the history
… catch: Fix method comments in non tests for Drupal.Commenting.DocComment.ShortSingleLine

(cherry picked from commit b212d24449a2398ab553206290cb07442e8facbf)
  • Loading branch information
longwave committed Apr 30, 2023
1 parent c78779a commit 08da8e5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,11 @@ public function onCommand(CommandEvent $event) {
}

/**
* Lazy-instantiate the handler object. It is dangerous to update a Composer
* plugin if it loads any classes prior to the `composer update` operation,
* and later tries to use them in a post-update hook.
* Instantiates the handler object upon demand.
*
* It is dangerous to update a Composer plugin if it loads any classes prior
* to the `composer update` operation, and later tries to use them in a
* post-update hook.
*/
protected function handler() {
if (!$this->handler) {
Expand Down

0 comments on commit 08da8e5

Please sign in to comment.