Skip to content

Commit

Permalink
Add signature of embedded commands to allow code completion
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Apr 9, 2024
1 parent 7e65fb2 commit 4e46213
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Composer.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
*
* @author Ben Thomson
* @since 0.1.0
* @method \Winter\Packager\Commands\Install i(bool $includeDev = true, bool $lockFileOnly = false, bool $ignorePlatformReqs = false, string $installPreference = 'none', bool $ignoreScripts = false, bool $dryRun = false) Install command
* @method \Winter\Packager\Commands\Install install(bool $includeDev = true, bool $lockFileOnly = false, bool $ignorePlatformReqs = false, string $installPreference = 'none', bool $ignoreScripts = false, bool $dryRun = false) Install command
* @method \Winter\Packager\Package\Collection search() Search command
* @method \Winter\Packager\Package\Collection|\Winter\Packager\Package\Package|null show() Show command
* @method \Winter\Packager\Commands\Update update(bool $includeDev = true, bool $lockFileOnly = false, bool $ignorePlatformReqs = false, string $installPreference = 'none', bool $ignoreScripts = false, bool $dryRun = false) Update command
* @method string version(string $detail = 'version') Version command
*/
class Composer
{
Expand Down

0 comments on commit 4e46213

Please sign in to comment.