Skip to content
Snippets Groups Projects
Commit b2d2d492 authored by Theresa Grannum's avatar Theresa Grannum Committed by Adam G-H
Browse files

Issue #3309025 by Theresa.Grannum: Document that Stage::require() does not need version numbers

parent c6b671ec
No related branches found
No related tags found
No related merge requests found
...@@ -309,10 +309,10 @@ class Stage { ...@@ -309,10 +309,10 @@ class Stage {
* *
* @param string[] $runtime * @param string[] $runtime
* The packages to add as regular top-level dependencies, in the form * The packages to add as regular top-level dependencies, in the form
* 'vendor/name:version'. * 'vendor/name' or 'vendor/name:version'.
* @param string[] $dev * @param string[] $dev
* (optional) The packages to add as dev dependencies, in the form * (optional) The packages to add as dev dependencies, in the form
* 'vendor/name:version'. Defaults to an empty array. * 'vendor/name' or 'vendor/name:version'. Defaults to an empty array.
*/ */
public function require(array $runtime, array $dev = []): void { public function require(array $runtime, array $dev = []): void {
$this->checkOwnership(); $this->checkOwnership();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment