Skip to content

Commit

Permalink
DOC Fix minor typos in Module
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Rainville committed Nov 18, 2021
1 parent d2cbf5b commit 1bc1e85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Core/Manifest/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use SilverStripe\Dev\Deprecation;

/**
* Abstraction of a PHP Package. Can be used to retrieve information about SilverStripe modules, and other packages
* Abstraction of a PHP Package. Can be used to retrieve information about Silverstripe CMS modules, and other packages
* managed via composer, by reading their `composer.json` file.
*/
class Module implements Serializable
Expand Down Expand Up @@ -64,7 +64,7 @@ public function __construct($path, $basePath)
* Gets name of this module. Used as unique key and identifier for this module.
*
* If installed by composer, this will be the full composer name (vendor/name).
* If not insalled by composer this will default to the basedir()
* If not installed by composer this will default to the `basedir()`
*
* @return string
*/
Expand All @@ -74,7 +74,7 @@ public function getName()
}

/**
* Get full composer name. Will be null if no composer.json is available
* Get full composer name. Will be `null` if no composer.json is available
*
* @return string|null
*/
Expand Down Expand Up @@ -130,7 +130,7 @@ public function getShortName()

/**
* Name of the resource directory where vendor resources should be exposed as defined by the `extra.resources-dir`
* key in the composer file. A blank string will will be returned if the key is undefined.
* key in the composer file. A blank string will be returned if the key is undefined.
*
* Only applicable when reading the composer file for the main project.
* @return string
Expand Down

0 comments on commit 1bc1e85

Please sign in to comment.