@@ -66,8 +66,8 @@ |
||
66 | 66 | * @param string $packageSource |
67 | 67 | * @param stdClass $extra |
68 | 68 | */ |
69 | - public function __construct($name, $version, $packageRepository=null, |
|
70 | - $packageSource=null, stdClass $extra=null) { |
|
69 | + public function __construct($name, $version, $packageRepository = null, |
|
70 | + $packageSource = null, stdClass $extra = null) { |
|
71 | 71 | $this->name = $name; |
72 | 72 | $this->version = $version; |
73 | 73 |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | * |
138 | 138 | * @return Moodle |
139 | 139 | */ |
140 | - protected function getMoodle($moodleDirectory=null) { |
|
140 | + protected function getMoodle($moodleDirectory = null) { |
|
141 | 141 | if ($this->moodle === null) { |
142 | 142 | $moodleDirectory = ($moodleDirectory === null) |
143 | 143 | ? $this->platform->getWorkingDirectory() : $moodleDirectory; |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | * |
157 | 157 | * @return Project |
158 | 158 | */ |
159 | - protected function getProject($projectFilename=null, $projectLockFilename=null) { |
|
159 | + protected function getProject($projectFilename = null, $projectLockFilename = null) { |
|
160 | 160 | $workingDirectory = $this->platform->getWorkingDirectory(); |
161 | 161 | |
162 | 162 | if ($this->project === null) { |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * @param ComponentVersion[] $versions |
66 | 66 | * @param PackageRepository|null $packageRepository |
67 | 67 | */ |
68 | - public function __construct($name, $versions, $packageRepository=null) { |
|
68 | + public function __construct($name, $versions, $packageRepository = null) { |
|
69 | 69 | $this->name = $name; |
70 | 70 | $this->versions = $versions; |
71 | 71 | |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | * @return string |
127 | 127 | */ |
128 | 128 | public function getPluginType() { |
129 | - list($type, ) = $this->getNameParts(); |
|
129 | + list($type,) = $this->getNameParts(); |
|
130 | 130 | |
131 | 131 | return $type; |
132 | 132 | } |
@@ -84,7 +84,7 @@ |
||
84 | 84 | * @param integer $maturity |
85 | 85 | * @param ComponentSource[]|null $sources |
86 | 86 | */ |
87 | - public function __construct($version, $release, $maturity, $sources=null) { |
|
87 | + public function __construct($version, $release, $maturity, $sources = null) { |
|
88 | 88 | $this->version = $version; |
89 | 89 | $this->release = $release; |
90 | 90 | $this->maturity = $maturity; |