@@ -104,6 +104,7 @@ discard block |
||
104 | 104 | |
105 | 105 | /** |
106 | 106 | * Given only a site name, load the default environment from it. |
107 | + * @param string|null $sitename |
|
107 | 108 | */ |
108 | 109 | protected function loadDefaultEnvFromSitename($sitename) |
109 | 110 | { |
@@ -206,8 +207,8 @@ discard block |
||
206 | 207 | /** |
207 | 208 | * @param array $siteData list of sites with its respective data |
208 | 209 | * |
209 | - * @param SiteAliasName $aliasName The name of the record being created |
|
210 | 210 | * @param $siteData An associative array of envrionment => site data |
211 | + * @param string $sitename |
|
211 | 212 | * @return SiteAlias[] |
212 | 213 | */ |
213 | 214 | protected function createSiteAliassFromSiteData($sitename, $siteData, $location = '') |
@@ -373,7 +374,6 @@ discard block |
||
373 | 374 | /** |
374 | 375 | * Given an array of site aliases, find the first one that is |
375 | 376 | * local (has no 'host' item) and also contains a 'self.site.yml' file. |
376 | - * @param array $data |
|
377 | 377 | * @return array |
378 | 378 | */ |
379 | 379 | protected function findSelfSiteAliases($site_aliases) |
@@ -420,6 +420,9 @@ discard block |
||
420 | 420 | return $this->loader[$extension]; |
421 | 421 | } |
422 | 422 | |
423 | + /** |
|
424 | + * @param string $extension |
|
425 | + */ |
|
423 | 426 | public function addLoader($extension, DataFileLoaderInterface $loader) |
424 | 427 | { |
425 | 428 | $this->loader[$extension] = $loader; |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | /** |
34 | 34 | * combine the provided site alias with configuration. |
35 | 35 | * |
36 | - * @return SiteAlias read-only site alias combined with the runtime |
|
36 | + * @return SiteAliasWithConfig read-only site alias combined with the runtime |
|
37 | 37 | * config (overrides the site alias values) and the default config. |
38 | 38 | */ |
39 | 39 | public static function create(SiteAliasInterface $siteAlias, ConfigInterface $defaultConfig, ConfigInterface $runtimeConfig = null) |
@@ -47,6 +47,7 @@ discard block |
||
47 | 47 | * Determine what object to use for the runtime config. If a specific |
48 | 48 | * runtime config is given, use that. Otherwise, pull it from the default |
49 | 49 | * configuration if available. |
50 | + * @return ConfigInterface |
|
50 | 51 | */ |
51 | 52 | protected static function determineCorrectRuntimeConfig(ConfigInterface $defaultConfig, ConfigInterface $runtimeConfig) |
52 | 53 | { |