Completed
Push — master ( 56f069...08b4a2 )
by Greg
01:33
created
src/SiteAliasFileLoader.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,6 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
     /**
56 56
      * Allow 'self.site.yml' to be applied to any alias record found.
57
+     * @param string $root
57 58
      */
58 59
     public function setRoot($root)
59 60
     {
@@ -117,6 +118,7 @@  discard block
 block discarded – undo
117 118
 
118 119
     /**
119 120
      * Given only a site name, load the default environment from it.
121
+     * @param string|null $sitename
120 122
      */
121 123
     protected function loadDefaultEnvFromSitename($sitename)
122 124
     {
@@ -219,8 +221,8 @@  discard block
 block discarded – undo
219 221
     /**
220 222
      * @param array $siteData list of sites with its respective data
221 223
      *
222
-     * @param SiteAliasName $aliasName The name of the record being created
223 224
      * @param $siteData An associative array of envrionment => site data
225
+     * @param string $sitename
224 226
      * @return SiteAlias[]
225 227
      */
226 228
     protected function createSiteAliassFromSiteData($sitename, $siteData, $location = '')
@@ -386,7 +388,7 @@  discard block
 block discarded – undo
386 388
     /**
387 389
      * Given an array of site aliases, find the first one that is
388 390
      * local (has no 'host' item) and also contains a 'self.site.yml' file.
389
-     * @param array $data
391
+     * @param string $path
390 392
      * @return array
391 393
      */
392 394
     protected function findSelfSiteAliases($site_aliases, $path)
@@ -450,6 +452,9 @@  discard block
 block discarded – undo
450 452
         return $this->loader[$extension];
451 453
     }
452 454
 
455
+    /**
456
+     * @param string $extension
457
+     */
453 458
     public function addLoader($extension, DataFileLoaderInterface $loader)
454 459
     {
455 460
         $this->loader[$extension] = $loader;
Please login to merge, or discard this patch.